honk_rpc

Module honk_rpc

Source

Structs§

  • The object that handles the communication between two endpoints using the Honk-RPC protocol. Provides methods for setting and getting configuration parameters, reading and processing message documents, and handling API requests and responses.

Enums§

  • The error type for the Session type.
  • Represents various error codes that can be present in a Honk-RPC error_section
  • Represents the response to a client request.

Constants§

Traits§

  • The ApiSet trait represents a set of APIs that can be remotely invoked by a connecting Honk-RPC client.

Functions§

  • Computes the required size of a Honk-RPC error section in bytes.
  • Computes the overhead of the Honk-RPC message type. This method in conjunction with the other get_*_section_size(..) functions can be used to compute the size of a Honk-RPC message with exactly one section.
  • Computes the required size of a Honk-RPC requests section in bytes.
  • Computes the required size of a Honk-RPC response section in bytes.

Type Aliases§

  • A type alias for the cookie used to track client requests.