Creates a new message instance.
The message type.
Name of the analyze queue job.
ReadonlyconnectionConnection details for this message.
ReadonlyerrorsAccumulated errors during processing.
ReadonlyidUnique identifier for this message.
ReadonlymethodRequest method wrapper.
ReadonlypayloadPayload data for this message.
ReadonlyrequestRequest body wrapper.
ReadonlyrequestRequest headers wrapper.
ReadonlyresponseResponse body wrapper.
ReadonlyresponseResponse headers wrapper.
ReadonlystatusResponse status wrapper.
ReadonlyurlRequest URL wrapper.
Checks if the message is ready for processing.
true if the message is ready, false otherwise.
Gets the message type.
The current message type.
Adds an error with a path context.
The error object or unknown value.
The path segments indicating where the error occurred.
Adds a request body interceptor.
Request body interceptors are called after the request head interceptors.
The interceptor identifier.
The interceptor function.
Adds a request head interceptor.
Request head interceptors are called before the request body is processed.
The interceptor identifier.
The interceptor function.
Adds a response body interceptor.
Response body interceptors are called after the response head interceptors.
The interceptor identifier.
The interceptor function.
Adds a response head interceptor.
Response head interceptors are called before the response body is processed.
The interceptor identifier.
The interceptor function.
Gets the request transforms.
The array of transforms.
Gets the response transforms.
The array of transforms.
Checks if a string is an absolute URL.
The URL string to check.
true if it's an absolute URL, false otherwise.
Checks if a content-type belongs to a category.
The content-type category name.
The parsed content-type to check.
true if the content-type matches the category, false otherwise.
Checks if a content-type supports URL rewriting.
The parsed content-type to check.
true if rewriting is applicable, false otherwise.
Merges connection details into the message.
The connection details to merge.
Marks the message as ready for processing.
After this call, the message structure or content cannot be modified.
Rewrites URLs in text content.
The text content containing URLs.
If false, replaces donor to mirror; if true, replaces mirror to donor.
The URL rewrite targets.
The text with rewritten URLs.
Sets the message type with validation.
The type can only be changed to a compatible type based on the current type.
The new message type.
StaticcreateFactory method to create a message by type.
The message type.
A new message instance.
Complete HTTP message representation with request and response components.
Supports both normal HTTP and WebSocket messages with interceptor pipelines.