SignalRHttpRequest class

Represents an HTTP request.

Constructors

SignalRHttpRequest({String method, String url, Object content, MessageHeaders headers, IAbortSignal abortSignal, int timeout })

Properties

abortSignal IAbortSignal
An AbortSignal that can be monitored for cancellation.
read / write
content ↔ Object
The body content for the request. May be a string or an ArrayBuffer (for binary data).
read / write
headers MessageHeaders
An object describing headers to apply to the request.
read / write
method ↔ String
The HTTP method to use for the request.
read / write
timeout ↔ int
The time to wait for the request to complete before throwing a TimeoutError. Measured in milliseconds.
read / write
url ↔ String
The URL for the request.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited