moonbitstack/moonhttp/http2 does not have a README file
pub(all) enum Frame {
Data(stream_id~ : Int, data~ : Bytes, end_stream~ : Bool, padding~ : Int)
Headers(stream_id~ : Int, fragment~ : Bytes, end_stream~ : Bool, end_headers~ : Bool, priority~ : Priority?, padding~ : Int)
Priority(stream_id~ : Int, priority~ : Priority)
RstStream(stream_id~ : Int, error_code~ : Int)
Settings(params~ : Array[(Int, Int)], ack~ : Bool)
PushPromise(stream_id~ : Int, promised_id~ : Int, fragment~ : Bytes, end_headers~ : Bool, padding~ : Int)
Ping(payload~ : Bytes, ack~ : Bool)
GoAway(last_stream_id~ : Int, error_code~ : Int, debug~ : Bytes)
WindowUpdate(stream_id~ : Int, increment~ : Int)
Continuation(stream_id~ : Int, fragment~ : Bytes, end_headers~ : Bool)
Unknown(ftype~ : Int, flags~ : Int, stream_id~ : Int, payload~ : Bytes)
} derive(Eq)let error_compression_error : Intlet error_connect_error : Intlet error_enhance_your_calm : Intlet error_flow_control_error : Intlet error_frame_size_error : Intlet error_http_1_1_required : Intlet error_inadequate_security : Intlet error_internal_error : Intlet error_no_error : Intlet error_protocol_error : Intlet error_refused_stream : Intlet error_settings_timeout : Intlet error_stream_closed : Intlet flag_end_headers : Intlet flag_end_stream : Intlet flag_padded : Intlet flag_priority : Intlet frame_continuation : Intlet frame_goaway : Intlet frame_headers : Intlet frame_priority : Intlet frame_push_promise : Intlet frame_rst_stream : Intlet frame_settings : Intlet frame_window_update : Intfn has_preface(data : Bytes) -> Boollet preface : Byteslet settings_enable_push : Intlet settings_header_table_size : Intlet settings_initial_window_size : Intlet settings_max_concurrent_streams : Intlet settings_max_frame_size : Intlet settings_max_header_list_size : IntInstall
Download zipmoonhttp — the HTTP family for MoonBit: URI references and percent coding, conditional requests and entity-tags, range requests, HTTP/1.1, HTTP/2 and HTTP/3 framing, HPACK and QPACK header compression, WebSocket framing and its handshake, Server-Sent Events, cookies, data URLs, multipart bodies and media types, each a package of its own. Bytes in, events out; no sockets.
Dependencies