Creates a new wrapper instance.
The HTTP method to wrap.
Checks if the wrapper is frozen (read-only).
true if the wrapper is frozen, false otherwise.
Clones the wrapper with a copy of the method.
A new independent wrapper instance.
Freezes the wrapper to prevent modifications.
This wrapper for method chaining.
Gets the method value.
The HTTP method string.
Checks if the current method matches the specified value(s).
The single method string or an array of methods to check.
true if the method matches any of the specified values, false otherwise.
StaticfromFactory method to create a wrapper from a request-like object.
The object with an optional method property.
A new wrapper instance.
StaticfromFactory method to create a wrapper from scratch.
A new wrapper instance with default method GET.
StaticfromFactory method to create a wrapper from a string value.
The method string.
A new wrapper instance.
Wrapper class for HTTP message methods.