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.
Registers MIME types for a content-type category.
The content-type category name.
The array of MIME types to register.
This message for method chaining.
Adds an error with a path context.
The error object or unknown value.
The path segments indicating where the error occurred.
This message for method chaining.
Adds a request body interceptor.
Request body interceptors are called after the request head interceptors.
The interceptor identifier.
The interceptor function.
This message for method chaining.
Adds a request head interceptor.
Request head interceptors are called before the request body is processed.
The interceptor identifier.
The interceptor function.
This message for method chaining.
Adds a response body interceptor.
Response body interceptors are called after the response head interceptors.
The interceptor identifier.
The interceptor function.
This message for method chaining.
Adds a response head interceptor.
Response head interceptors are called before the response body is processed.
The interceptor identifier.
The interceptor function.
This message for method chaining.
Decocrates request body as HTML.
Decorates request body as Query String.
Decorates request body as plain text.
Decorate request body as XML.
Decocrates response body as HTML.
Decorates response body as Query String.
Decorates response body as plain text.
Decorate response body as XML.
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 request content-type belongs to a category.
The content-type category name.
true if the content-type matches the category, false otherwise.
Checks if a response content-type belongs to a category.
The content-type category name.
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.
This message for method chaining.
Marks the message as ready for processing.
After this call, the message structure or content cannot be modified.
This message for method chaining.
Retrieves request body as HTML.
Retrieves request body as JSON.
Retrieves request body as Query String.
Retrieves request body as plain text.
Retrieves request body as XML.
Retrieves response body as HTML.
Retrieves response body as JSON.
Retrieves response body as Query String.
Retrieves response body as plain text.
Retrieves response body as XML.
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.
This message for method chaining.
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.