moonbitstack/moonrpc/client does not have a README file
pub(all) struct ClientCall {
id : Int
path : Bytes
authority : Bytes
metadata : Array[Header]
timeout : Bytes?
out : Bytes
out_off : Int
req_ended : Bool
req_headers_sent : Bool
req_fin_sent : Bool
send_window : Int
data : Buffer
data_off : Int
messages : Array[Bytes]
recv_window : Int
status : Bytes
grpc_status : Int?
grpc_message : String
resp_encoding : Bytes
resp_headers : Array[Header]
resp_trailers : Array[Header]
headers_seen : Bool
header_block : Buffer
in_headers : Bool
pending_end_stream : Bool
decode_failed : Bool
unprocessed : Bool
committed : Bool
done : Bool
}pub struct H2Client {
encoder : Encoder
decoder : Decoder
calls : Map[Int, ClientCall]
next_id : Int
conn_send_window : Int
conn_recv_window : Int
remote_initial_window : Int
remote_max_frame : Int
goaway_received : Bool
goaway_last_stream_id : Int
encoding : Encoding
user_agent : Bytes
max_recv : Int
max_send : Int
size_update : Int?
orphan_blocks : Map[Int, Buffer]
}fn encode_grpc_timeout(millis : Int) -> Bytesfn intercepted(chain : Array[async (Invocation, async (Invocation) -> CallReply) -> CallReply], base : async (Invocation) -> CallReply) -> (async (Invocation) -> CallReply)fn percent_decode(v : Bytes) -> Stringlet user_agent : String