Expand description
HTTP based RPC library.
This crate provides a thin framework to easily implement type-safe RPC channels for client/server model communication.
Modules§
- deserializers
Deserializer
trait implementations.- 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
Serializer
trait implementations.- types
- Miscellaneous types.
Macros§
- htrpc_
entry_ point - A helper macro to construct an
EntryPoint
instance.
Structs§
- Error
- This crate specific error type.
- RpcClient
- RPC Client.
- RpcServer
- RPC Server.
- RpcServer
Builder - The
RpcServer
builder.
Enums§
- Error
Kind - The list of the possible error kinds.
Traits§
- Future
Ext - Handle
Rpc - This trait allows to handle RPC requests issued by clients.
- Procedure
- Procedure definition.
- RpcRequest
- RPC Request.
- RpcResponse
- RPC Response.
Functions§
Type Aliases§
- Body
Reader - Read
Body - Result
- This crate specific
Result
type.