SignalRHttpClient class abstract

Abstraction over an HTTP client.

This class provides an abstraction over an HTTP client so that a different implementation can be provided on different platforms.

Implementers

Constructors

SignalRHttpClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String? url, {required SignalRHttpRequest options}) Future<SignalRHttpResponse>
Issues an HTTP DELETE request to the specified URL, returning a Promise that resolves with an {@link @microsoft/signalr.HttpResponse} representing the result.
get(String url, {required SignalRHttpRequest options}) Future<SignalRHttpResponse>
Issues an HTTP GET request to the specified URL, returning a Promise that resolves with an {@link @microsoft/signalr.HttpResponse} representing the result.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String? url, {required SignalRHttpRequest options}) Future<SignalRHttpResponse>
Issues an HTTP POST request to the specified URL, returning a Promise that resolves with an {@link @microsoft/signalr.HttpResponse} representing the result.
send(SignalRHttpRequest request) Future<SignalRHttpResponse>
Issues an HTTP request to the specified URL, returning a Future that resolves with an SignalRHttpResponse representing the result.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited