Module methods

Module methods 

Source

StructsΒ§

AutoRequestBodyStreamCloser πŸ”’
Closes the current process request body sender state when the net side fetch invocation ends. Redirect replay for navigation requests happens in a later fetch invocation with a newly deserialized β€œRequestBody”, so each invocation owns closing only its local copy.
CancellationListener
FetchContext
InFlightKeepAliveRecord
Used to keep track of keep-alive requests
WebSocketChannel

EnumsΒ§

Data
MixedSecurityProhibited
RangeRequestBounds
Range header start and end values.

FunctionsΒ§

convert_request_to_csp_request πŸ”’
create_about_memory πŸ”’
create_blank_reply πŸ”’
do_settings_prohibit_mixed_security_contexts πŸ”’
https://w3c.github.io/webappsec-mixed-content/#categorize-settings-object
fetch
Fetch
fetch_with_cors_cache
Continuation of fetch from step 8.
handle_allowcert_request πŸ”’
Handle a request from the user interface to ignore validation errors for a certificate.
is_bad_port πŸ”’
https://fetch.spec.whatwg.org/#bad-port
is_form_submission_request
is_null_body_status πŸ”’
main_fetch
Main fetch
report_violations_for_request_by_csp
https://www.w3.org/TR/CSP/#report-for-request
scheme_fetch πŸ”’
Scheme fetch
should_be_blocked_due_to_mime_type πŸ”’
https://fetch.spec.whatwg.org/#should-response-to-request-be-blocked-due-to-mime-type?
should_be_blocked_due_to_nosniff
https://fetch.spec.whatwg.org/#should-response-to-request-be-blocked-due-to-nosniff?
should_request_be_blocked_as_mixed_content
https://w3c.github.io/webappsec-mixed-content/#should-block-fetch
should_request_be_blocked_by_csp
https://www.w3.org/TR/CSP/#should-block-request
should_request_be_blocked_due_to_a_bad_port
https://fetch.spec.whatwg.org/#block-bad-port
should_response_be_blocked_as_mixed_content
https://w3c.github.io/webappsec-mixed-content/#should-block-response
should_response_be_blocked_by_csp πŸ”’
should_upgrade_mixed_content_request πŸ”’
https://w3c.github.io/webappsec-mixed-content/#upgrade-algorithm
should_upgrade_request_to_potentially_trustworthy πŸ”’
https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request
transfers_request_body_stream_to_later_manual_redirect πŸ”’
A manual navigation redirect keeps the same request body alive for a later net side redirect replay invocation. That later invocation becomes the next lifecycle owner and must close its local shared sender state once it reaches a terminal response.
wait_for_response πŸ”’

Type AliasesΒ§

DoneChannel
SharedInflightKeepAliveRecords
Target