Module http

Source

Modules§

agent
contract
ledger

Traits§

Service
An asynchronous function from a Request to a Response.

Functions§

bad_request
check_json_content
err_response
into_server_error
Converts any error-type into a http-response with status-code 500
json_body
json_response
method_not_allowed
reject_404
unsupported_media_type

Type Aliases§

Request
Response