1.0.3 • Published 3 years ago
pioneers-server v1.0.3
server module
this module is a class that can create server with config information.
config is an object is as follows:
config = {
hostname,
port,
eventEmitter,
event
}
after we create server, server will emit every requests sent to.