SimpleWebServer class

Implementers

Constructors

SimpleWebServer(dynamic host, dynamic port, dynamic wsPath, dynamic staticFiles, dynamic clientFiles, dynamic clientServe)

Properties

bind_address ↔ InternetAddress
read / write
clientFiles ↔ dynamic
read / write
clientServe ↔ dynamic
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
host ↔ dynamic
read / write
log → Logger
final
port ↔ dynamic
read / write
router ↔ Router
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
staticFiles ↔ dynamic
read / write
virDir ↔ dynamic
read / write
wsPath ↔ dynamic
read / write

Methods

init() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
serve(String name) → Stream<HttpRequest>
setupConsoleLog([Level level = Level.INFO]) → void
start({WebSocketHandler handleWs = null, FallbackStart fallback}) → Future
This method helps to start your webserver. [...]
startSecure({WebSocketHandler handleWs = null, SecurityContext context, bool requestClientCertificate = false, int backlog = 0}) → Future
This method helps to start your webserver in a secure way. [...]
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited