moonbitstack/moonrpc/thrift does not have a README file
pub(open) trait Protocol {
fn reset(Self, Bytes) -> Unit
fn output(Self) -> Bytes
fn read_message_begin(Self) -> (String, Int, Int) raise ThriftError
fn write_message_begin(Self, String, Int, Int) -> Unit
fn read_struct_begin(Self) -> Unit
fn read_struct_end(Self) -> Unit
fn write_struct_begin(Self, String) -> Unit
fn write_struct_end(Self) -> Unit
fn read_field_begin(Self) -> (Int, Int) raise ThriftError
fn write_field_begin(Self, Int, Int) -> Unit
fn write_field_stop(Self) -> Unit
fn read_bool(Self) -> Bool raise ThriftError
fn read_byte(Self) -> Int raise ThriftError
fn read_i16(Self) -> Int raise ThriftError
fn read_i32(Self) -> Int raise ThriftError
fn read_i64(Self) -> Int64 raise ThriftError
fn read_double(Self) -> Double raise ThriftError
fn read_string(Self) -> String raise ThriftError
fn read_bytes(Self) -> Bytes raise ThriftError
fn read_list_begin(Self) -> (Int, Int) raise ThriftError
fn read_map_begin(Self) -> (Int, Int, Int) raise ThriftError
fn write_bool(Self, Bool) -> Unit
fn write_byte(Self, Int) -> Unit
fn write_i16(Self, Int) -> Unit
fn write_i32(Self, Int) -> Unit
fn write_i64(Self, Int64) -> Unit
fn write_double(Self, Double) -> Unit
fn write_string(Self, String) -> Unit
fn write_bytes(Self, Bytes) -> Unit
fn write_list_begin(Self, Int, Int) -> Unit
fn write_map_begin(Self, Int, Int, Int) -> Unit
}pub(all) suberror ThriftError {
BadVersion(Int)
Truncated
BadType(Int)
Depth
Unsupported(String)
Application(String)
}impl Show for ThriftErrorfn Processor::add(self : Processor, name : String, handler : (&Protocol) -> Unit raise ThriftError) -> Unitfn Processor::process(self : Processor, proto : &Protocol, frame : Bytes) -> Bytes raise ThriftErrorasync fn[T : Transport, R] call(transport : T, proto : &Protocol, name : String, seqid : Int, args : (&Protocol) -> Unit raise ThriftError, read : (&Protocol) -> R raise ThriftError) -> R raise ThriftErrorasync fn[T : Transport, R, E] call_result(transport : T, proto : &Protocol, name : String, seqid : Int, args : (&Protocol) -> Unit raise ThriftError, read : (&Protocol) -> R raise ThriftError, exception : (&Protocol, Int) -> E? raise ThriftError) -> Result[R, E] raise ThriftErrorasync fn[T : Transport, E] call_result_unit(transport : T, proto : &Protocol, name : String, seqid : Int, args : (&Protocol) -> Unit raise ThriftError, exception : (&Protocol, Int) -> E? raise ThriftError) -> Result[Unit, E] raise ThriftErrorfn[R, E] read_result(proto : &Protocol, read : (&Protocol) -> R raise ThriftError, exception : (&Protocol, Int) -> E? raise ThriftError) -> Result[R, E] raise ThriftErrorfn[E] read_result_unit(proto : &Protocol, exception : (&Protocol, Int) -> E? raise ThriftError) -> Result[Unit, E] raise ThriftErrorfn[R] read_success(proto : &Protocol, read : (&Protocol) -> R raise ThriftError) -> R raise ThriftErrorasync fn[T : Transport] request(transport : T, proto : &Protocol, name : String, seqid : Int, args : (&Protocol) -> Unit raise ThriftError) -> Unit raise ThriftErrorInstall
Download zipgRPC for MoonBit.