(json-response status body)
Inputs: [status :- schema/Int body :- schema/Any] Returns: RingResponse
Inputs: [status :- schema/Int body :- schema/Any] Returns: RingResponse
(plain-response status body)
Inputs: [status :- schema/Int body :- schema/Str] Returns: RingResponse
Inputs: [status :- schema/Int body :- schema/Str] Returns: RingResponse
(throw-bad-request! message)
Throw a :bad-request type slingshot error with the supplied message
Throw a :bad-request type slingshot error with the supplied message
(throw-data-invalid! message)
Throw a :data-invalid type slingshot error with the supplied message
Throw a :data-invalid type slingshot error with the supplied message
(throw-service-unavailable! message)
Throw a :service-unavailable type slingshot error with the supplied message
Throw a :service-unavailable type slingshot error with the supplied message
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close