Skip to main content

Module response

Module response 

Source

Structs§

ApiError
An application error with a stable machine-readable code and HTTP status.
ResponsePolicy
Per-application JSON success and error policy.

Functions§

grpc_status_to_http
Maps a gRPC status code to its conventional HTTP equivalent.
streaming_response
Builds a chunked response whose stream items are explicit flush opportunities.