BrowserHttpClientRequestImpl class
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
- Inheritance
-
- Object
- IOSinkBase
- BrowserHttpClientRequestImpl
- Implemented types
Constructors
- BrowserHttpClientRequestImpl.new(BrowserHttpClient client, String method, Uri uri)
- General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
Properties
- browserCredentialsMode ↔ bool
-
Enables "credentials mode"
for this XHR request. Disabled by default.
getter/setter pairoverride
- browserResponseType ↔ String?
-
Sets responseType in XMLHttpRequest for this XHR request.
getter/setter pairoverride
- bufferOutput ↔ bool
-
Gets or sets if the HttpClientRequest should buffer output.
getter/setter pairoverride
- client → BrowserHttpClient
-
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
final
- connectionInfo → HttpConnectionInfo?
-
Gets information about the client connection.
no setteroverride
- contentLength ↔ int
-
Gets and sets the content length of the request.
getter/setter pairoverride
-
Cookies to present to the server (in the 'cookie' header).
final
-
done
→ Future<
HttpClientResponse> -
A future that will complete when the consumer closes, or when an
error occurs.
no setteroverride
- encoding ↔ Encoding
-
The Encoding used when writing strings.
getter/setter pairinherited
- followRedirects ↔ bool
-
Whether to follow redirects automatically.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → HttpHeaders
-
Returns the client request headers.
final
- maxRedirects ↔ int
-
Set this property to the maximum number of redirects to follow
when followRedirects is
true
. If this number is exceeded an error event will be added with a RedirectException.getter/setter pairoverride - method → String
-
The method of the request.
final
- persistentConnection ↔ bool
-
The requested persistent connection state.
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
The uri of the request.
final
Methods
-
abort(
[Object? exception, StackTrace? stackTrace]) → void -
Aborts the client connection.
override
-
add(
List< int> event) → void -
Adds byte
data
to the target consumer, ignoring encoding.override -
addError(
Object error, [StackTrace? stackTrace]) → void -
Passes the error to the target consumer as an error event.
override
-
addStream(
Stream< List< stream) → Future<int> >void> -
Adds all elements of the given
stream
.override -
close(
) → Future< HttpClientResponse> -
Close the target consumer.
override
-
flush(
) → Future -
Returns a Future that completes once all buffered data is accepted by the
underlying StreamConsumer.
override
-
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 -
Converts
object
to a String by invoking Object.toString and adds the encoding of the result to the target consumer.inherited -
writeAll(
Iterable objects, [String separator = '']) → void -
Iterates over the given
objects
and writes them in sequence.inherited -
writeCharCode(
int charCode) → void -
Writes the character of
charCode
.inherited -
writeln(
[Object? obj = '']) → void -
Converts
object
to a String by invoking Object.toString and writes the result tothis
, followed by a newline.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited