File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ interface types {
95
95
// are shared with the request, with all mutations visible to all uses.
96
96
// Components MUST avoid updating `headers` and `trailers` after passing a
97
97
// request that points to them to the outside world.
98
+ // The streams returned by `consume` and `write` are owned by the request and
99
+ // response objects. The streams are destroyed when the request/response is
100
+ // dropped, thus a client MUST drop any handle referring to a request/response stream
101
+ // before dropping the request/response or passing ownership of the request/response
102
+ // to the outside world. The caller can also call drop on the stream before the
103
+ // request/response is dropped if they want to release resources earlier.
98
104
type incoming-request = u32
99
105
type outgoing-request = u32
100
106
drop-incoming-request : func (request : incoming-request )
You can’t perform that action at this time.
0 commit comments