Module body

Source

Structsยง

ExtractedBody ๐Ÿ”’
The result of https://fetch.spec.whatwg.org/#concept-bodyinit-extract
TransmitBodyConnectHandler ๐Ÿ”’
The IPC route handler for https://fetch.spec.whatwg.org/#concept-request-transmit-body. This route runs in the script process, and will queue tasks to perform operations on the stream and transmit body chunks over IPC.
TransmitBodyPromiseHandler ๐Ÿ”’
The handler of read promises of body streams used in https://fetch.spec.whatwg.org/#concept-request-transmit-body.
TransmitBodyPromiseRejectionHandler ๐Ÿ”’
The handler of read promises rejection of body streams used in https://fetch.spec.whatwg.org/#concept-request-transmit-body.

Enumsยง

BodySource ๐Ÿ”’
The Dom object, or ReadableStream, that is the source of a body. https://fetch.spec.whatwg.org/#concept-body-source
BodyType ๐Ÿ”’
FetchedData ๐Ÿ”’
StopReading ๐Ÿ”’
The reason to stop reading from the body.

Traitsยง

BodyMixin ๐Ÿ”’
https://fetch.spec.whatwg.org/#body
Extractable ๐Ÿ”’
https://fetch.spec.whatwg.org/#concept-bodyinit-extract

Functionsยง

consume_body ๐Ÿ”’
https://fetch.spec.whatwg.org/#concept-body-consume-body https://fetch.spec.whatwg.org/#body-fully-read A combination of parts of both algorithms, body-fully-read can be fully implemented, and separated, later, see #36049.
decode_to_utf16_with_bom_removal ๐Ÿ”’
resolve_result_promise ๐Ÿ”’
The success steps of https://fetch.spec.whatwg.org/#concept-body-consume-body.
run_array_buffer_data_algorithm ๐Ÿ”’
https://fetch.spec.whatwg.org/#ref-for-concept-body-consume-body
run_blob_data_algorithm ๐Ÿ”’
https://fetch.spec.whatwg.org/#ref-for-concept-body-consume-body%E2%91%A0
run_bytes_data_algorithm ๐Ÿ”’
https://fetch.spec.whatwg.org/#ref-for-concept-body-consume-body%E2%91%A1
run_form_data_algorithm ๐Ÿ”’
https://fetch.spec.whatwg.org/#ref-for-concept-body-consume-body%E2%91%A2
run_json_data_algorithm ๐Ÿ”’
https://fetch.spec.whatwg.org/#ref-for-concept-body-consume-body%E2%91%A3
run_package_data_algorithm ๐Ÿ”’
The algorithm that takes a byte sequence and returns a JavaScript value or throws an exception of https://fetch.spec.whatwg.org/#concept-body-consume-body.
run_text_data_algorithm ๐Ÿ”’
https://fetch.spec.whatwg.org/#ref-for-concept-body-consume-body%E2%91%A4