Skip to main content

Module intercept

Module intercept 

Source

Structs§

InterceptHandler
RequestHandler that intercepts requests/responses and sends them to the TUI.

Enums§

InterceptedItem
Sent from handler to TUI.
Verdict
Sent from TUI back to handler.

Functions§

is_text_body
Check if body is valid UTF-8 (safe for text editing).
parse_request_text
Parse raw HTTP request text back into parts.
parse_response_text
Parse raw HTTP response text back into parts.
serialize_request
Serialize an HTTP request to raw text for display/editing.
serialize_response
Serialize an HTTP response to raw text for display/editing.

Type Aliases§

InterceptId