Liking cljdoc? Tell your friends :D

ring.util.request

Functions for augmenting and pulling information from request maps.

body-string

Type: multimethod

Added: 1.2

Arguments:

[request]
Return the request body as a string.

View source

character-encoding

Type: var

Added: 1.3

Arguments:

[request]
Return the character encoding for the request, or nil if it is not set.

View source

content-length

Type: var

Added: 1.3

Arguments:

[request]
Return the content-length of the request, or nil no content-length is set.

View source

content-type

Type: var

Added: 1.3

Arguments:

[request]
Return the content-type of the request, or nil if no content-type is set.

View source

in-context?

Type: var

Added: 1.2

Arguments:

[request context]
Returns true if the URI of the request is a subpath of the supplied context.

View source

path-info

Type: var

Added: 1.2

Arguments:

[request]
Returns the relative path of the request.

View source

request-url

Type: var

Added: 1.2

Arguments:

[request]
Return the full URL of the request.

View source

set-context

Type: var

Added: 1.2

Arguments:

[request context]
Associate a context and path-info with the  request. The request URI must be
a subpath of the supplied context.

View source

urlencoded-form?

Type: var

Added: 1.3

Arguments:

[request]
True if a request contains a urlencoded form in the body.

View source

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close