Crate webtonic_proto

Crate webtonic_proto 

Source
Expand description

This crate contains all the part of the WebTonic implementation, that is shared by both the server and the client.

The crate is encoding Requests into Calls and Responses into Replies, using Prost messages itself.

Structs§

Call
A protobuf encodable internal representation of a Request.
Reply
A protobuf encodable representation of a Response.

Enums§

WebTonicError
The error type of WebTonic.

Functions§

call_to_http_request
Parses a Call into a Request.
http_request_to_call
Parses a Request into Call.
http_response_to_reply
Parse a Response into a Reply.
reply_to_http_response
Parse a Reply into a Response.