Liking cljdoc? Tell your friends :D

tupelo.pedestal

Utils for Pedestal

Utils for Pedestal
raw docstring

acceptclj

source

application-ednclj

source

application-jsonclj

source

application-xmlclj

source

content-security-policyclj

source

content-typeclj

source

Contextclj

Plumatic Schema definition of a Pedestal Context

Plumatic Schema definition of a Pedestal Context
sourceraw docstring

context-keys-baseclj

source

context?clj

(context? map-in)

Inputs: [map-in :- tsk/KeyMap] Returns: s/Bool

Returns true if the map arg is a Pedestal context map

Inputs: [map-in :- tsk/KeyMap]
Returns: s/Bool

Returns true if the map arg is a Pedestal context map
sourceraw docstring

ctx-trimclj

(ctx-trim ctx)
source

ctx-trim-queue-stackclj

source

default-service-mapclj

Default options for configuring a Pedestal service

Default options for configuring a Pedestal service
sourceraw docstring

definterceptorcljmacro

(definterceptor name ctx)

Creates a Pedestal interceptor given a name and a map like (definterceptor my-intc { :enter <enter-fn> :leave <leave-fn> :error <error-fn> } )

Creates a Pedestal interceptor given a name and a map like
(definterceptor my-intc
  { :enter  <enter-fn>
    :leave  <leave-fn>
    :error  <error-fn> } )  
sourceraw docstring

html-headers-ednclj

source

interceptor?clj

(interceptor? map-in)

Inputs: [map-in :- tsk/KeyMap] Returns: s/Bool

Returns true if the map arg is a Pedestal interceptor map

Inputs: [map-in :- tsk/KeyMap]
Returns: s/Bool

Returns true if the map arg is a Pedestal interceptor map
sourceraw docstring

invoke-interceptorsclj

(invoke-interceptors ctx interceptors)

Inputs: [ctx :- tsk/KeyMap interceptors :- [tsk/KeyMap]]

Given a context and a vector of interceptor-maps, invokes the interceptor chain and returns the resulting output context.

Inputs: [ctx :- tsk/KeyMap interceptors :- [tsk/KeyMap]]

Given a context and a vector of interceptor-maps, invokes the interceptor chain
and returns the resulting output context.
sourceraw docstring

locationclj

source

Requestclj

Plumatic Schema definition of a Pedestal Request

Plumatic Schema definition of a Pedestal Request
sourceraw docstring

request-keys-baseclj

source

request?clj

(request? map-in)

Inputs: [map-in :- tsk/KeyMap] Returns: s/Bool

Returns true if the map arg is a Pedestal request map

Inputs: [map-in :- tsk/KeyMap]
Returns: s/Bool

Returns true if the map arg is a Pedestal request map
sourceraw docstring

service-fnclj

(service-fn)

Returns the service-function (which can be used for testing via pedestal.test/response-for)

Returns the `service-function` (which can be used for testing via pedestal.test/response-for)
sourceraw docstring

service-getclj

(service-get & args)

Given that a Pedestal service has been defined, return the response for an HTTP GET request. Does not require a running Jetty server.

Given that a Pedestal service has been defined, return the response for an HTTP GET request.
Does not require a running Jetty server.
sourceraw docstring

strict-transport-securityclj

source

table-routeclj

(table-route route-map)

Inputs: [route-map :- TableRouteInfo] Returns: tsk/Tuple

Creates a Pedestal table-route entry from a context map.

Inputs: [route-map :- TableRouteInfo]
Returns: tsk/Tuple

Creates a Pedestal table-route entry from a context map.
sourceraw docstring

TableRouteInfoclj

Plumatic Schema definition of a Pedestal TableRouteInfo

Plumatic Schema definition of a Pedestal TableRouteInfo
sourceraw docstring

text-htmlclj

source

text-javascriptclj

source

text-plainclj

source

with-servercljmacro

(with-server service-map & forms)

Start & stop the server, even if exception occurs.

Start & stop the server, even if exception occurs.
sourceraw docstring

with-servicecljmacro

(with-service service-map & forms)

Run the forms in the context of a Pedestal service definition

Run the forms in the context of a Pedestal service definition
sourceraw docstring

x-content-type-optionsclj

source

x-download-optionsclj

source

x-frame-optionsclj

source

x-permitted-cross-domain-policiesclj

source

x-xss-protectionclj

source

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

× close