Module apikit::reply[][src]

Expand description

Shorthand reply utilities.

Functions

error

Return a JSON error reply with a custom status code.

json

Thin wrapper around warp::reply::json() that casts the return value into a warp::reply::Response struct.

message

Return a JSON message.