IOPlatform class

dart:io platform.

Inheritance
Mixed-in types

Constructors

IOPlatform.new()
const

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

getClientAddress(Event event, HttpRequest request) String
Gets a client address.
override
getRequestBody(Event event, HttpRequest request) Stream<Uint8List>?
Gets a request body stream.
override
getRequestHeaders(Event event, HttpRequest request) Headers
Gets a request Headers.
override
getRequestMethod(Event event, HttpRequest request) String
Gets a request method.
override
getRequestURI(Event event, HttpRequest request) Uri
Gets a request Uri.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
respond(Event event, HttpRequest request, Response response) Future<void>
Respond to a response.
override
toString() String
A string representation of this object.
inherited
websocket(Event event, HttpRequest request, Hooks hooks) FutureOr
Upgrading websocket.
override

Operators

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