WebSocketRequest class abstract

Implemented types

Constructors

WebSocketRequest.new()

Properties

body Body
The body of the request, resolved from the original payload.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headers Headers
The headers of the request.
no setterinherited
method String
The HTTP method of the request.
no setterinherited
originalPayload Payload
The original payload of the request.
no setterinherited
pathParameters Map<String, String>
The path parameters of the request.
no setterinherited
payloadResolver PayloadResolver?
no setterinherited
queryParameters Map<String, dynamic>
The query parameters of the request.
no setterinherited
queryParametersAll Map<String, Iterable>
The query parameters of the request, including multiple values for the same parameter, if any.
no setterinherited
request UnderlyingRequest
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<String>
no setterinherited
uri Uri
The URI of the request.
no setterinherited

Methods

addCleanUp(void cleanUp()) → void
inherited
close([int code = 1000, String reason = 'Closed by the server']) Future<void>
Cleans up any resources used by the request
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideBody(Object? data) Future<void>
resolvePayload() Future<void>
Resolves the payload of the request for body to be accessible.
inherited
toString() String
A string representation of this object.
inherited
upgradeToWebSocket({Duration? ping}) Future<WebSocket>
inherited

Operators

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