Crate htrpc [−] [src]
HTTP based RPC library.
This crate provides a thin framework to easily implement type-safe RPC channels for client/server model communication.
Modules
| deserializers |
|
| json |
JSON serialize/deserialize function. |
| json_pretty |
Pretty-Printed JSON serialize/deserialize function. |
| msgpack |
MessagePack serialize/deserialize function. |
| pool |
Connection pool. |
| rfc7807 |
"Problem Details for HTTP APIs (RFC 7807)" related components. |
| serializers |
|
| types |
Miscellaneous types. |
Macros
| htrpc_entry_point |
A helper macro to construct an |
Structs
| Error |
This crate specific error type. |
| RpcClient |
RPC Client. |
| RpcServer |
RPC Server. |
| RpcServerBuilder |
The |
Enums
| ErrorKind |
The list of the possible error kinds. |
Traits
| HandleRpc |
This trait allows to handle RPC requests issued by clients. |
| Procedure |
Procedure definition. |
| RpcRequest |
RPC Request. |
| RpcResponse |
RPC Response. |
Type Definitions
| Result |
This crate specific |