SSHHttpClientRequest class

HTTP request created on a SSHHttpClient.

Properties

client SSHClient
The underlying SSH client.
final
contentLength int
The length of the request body. Is set to -1 when no body exists.
no setter
encoding Encoding
The default encoding for the HTTP request (UTF8).
final
hasBody bool
Whether or not the HTTP request has a body.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers SSHHttpHeaders
The headers associated with the HTTP request.
latefinal
method String
The type of HTTP request being made.
final
protocolVersion SSHHttpProtocolVersion
The HTTP protocol version used for the request. Defaults to HTTP/1.1.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
The Uri the HTTP request will be sent to.
final

Methods

close() Future<SSHHttpClientResponse>
Send the HTTP request and get the response.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
write(Object? obj) → void
Write content into the body of the HTTP request.

Operators

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