Polo class

Creates an Instance of Polo Websocket Server (PoloServer)

Properties

hashCode int
The hash code for this object.
no setterinherited
root PoloServer
Returns the Instance of PoloServer associated with the / Namespace
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes all PoloServer's of Polo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
of(String namespace) PoloServer
Returns the Instance of PoloServer associated with the Namespace or Creates the Instance if not present
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createManager({String address = "127.0.0.1", int port = 3000}) Future<Polo>
Creates a Polo Manager to handle multiple PoloServer's
createServer({String address = "127.0.0.1", int port = 3000}) Future<PoloServer>
Creates a Standalone PoloServer