CrossClj

1.1.44 docs

SourceDocs



RECENT
    VARS
    *output-errors*
    *output-stack-traces*
    ->MapBody
    as-body
    encode-message
    get-error-description
    get-error-message
    map->MapBody
    MessageBody
    render-error
    render-map
    render-seq
    transit-encode
    transit-json-encode
    transit-msgpack-encode

    « Index of all namespaces of this project

    Dynamic
    When set to logical true, errors will be printed. Defaults to true.
    
    Dynamic
    When set to logical true, errors will be output with their stack-traces. Defaults to true.
    
    (->MapBody map)
    Positional factory function for class yada.body.MapBody.
    
    (as-body map)
    The equivalent of 'quoting' an actual map inside a resource as an
    actual body. Otherwise maps can be treated as a nested value, as
    part of the resource itself. This is the case when using the
    shorthand {:get map} form, rather than {:get {:
    (encode-message s representation)
    (get-error-description code)
    (get-error-message code)
    (map->MapBody m__7585__auto__)
    Factory function for class yada.body.MapBody, taking a map of keywords to field values.
    
    protocol
    (content-length _)
    Return the size of the resource's representation, if this can possibly be known up-front (return nil if this is unknown)
    
    (to-body resource representation)
    Construct the reponse body for the given resource, given the negotiated representation (metadata)
    
    Private
    (transit-encode v type)
    Private
    (transit-json-encode v pretty?)
    Private
    (transit-msgpack-encode v)