@@ -103,48 +103,6 @@ impl Http3State {
103
103
This is the core implementation of HTTP/3 protocol. It implements most of the features of the
104
104
protocol. `Http3Client` and `Http3ServerHandler` implement only client and server side behavior.
105
105
106
- The API consists of:
107
- - functions that correspond to the `Http3Client` and `Http3ServerHandler` API:
108
- - `new`
109
- - `close`
110
- - `fetch` - only used by the client-side implementation
111
- - `read_data`
112
- - `stream_reset_send`
113
- - `stream_stop_sending`
114
- - `cancel_fetch`
115
- - `stream_close_send`
116
- - functions that correspond to [`WebTransport`](https://w3c.github.io/webtransport/) functions:
117
- - `webtransport_create_session` - only used by the client-side implementation
118
- - `webtransport_session_accept` - only used by the server-side implementation
119
- - `webtransport_close_session`
120
- - `webtransport_create_stream_local` - this function is called when an application wants to open
121
- a new `WebTransport` stream. For example `Http3Client::webtransport_create_stream` will call
122
- this function.
123
- - `webtransport_create_stream_remote` - this is called when a `WebTransport` stream has been
124
- opened by the peer and this function sets up the appropriate handler for the stream.
125
- - functions that are called by `process_http3`
126
- - `process_sending` - some send-streams are buffered streams(see the Streams section) and this
127
- function is called to trigger sending of the buffer data.
128
- - functions that are called to handle `ConnectionEvent`s:
129
- - `add_new_stream`
130
- - `handle_stream_readable`
131
- - `handle_stream_reset`
132
- - `handle_stream_stop_sending`
133
- - `handle_state_change`
134
- - `handle_zero_rtt_rejected`
135
- - Additional functions:
136
- - `set_features_listener`
137
- - `stream_has_pending_data`
138
- - `has_data_to_send`
139
- - `add_streams`
140
- - `add_recv_stream`
141
- - `queue_control_frame`
142
- - `queue_update_priority`
143
- - `set_0rtt_settings`
144
- - `get_settings`
145
- - `state`
146
- - `webtransport_enabled`
147
-
148
106
## Streams
149
107
150
108
Each `Http3Connection` holds a list of stream handlers. Each send and receive-handler is registered in
0 commit comments