Home Reference Source
public class | source

NodeServerSocketAPI

You can directly use an instance of this class. nodeServerSocketAPI

Constructor Summary

Public Constructor
public

Method Summary

Private Methods
private

_connectAPI(socket: *)

private

async _socketMiddleware(req: *, res: *, callback: *): *

private

async _socketMiddlewareCallback(req: *, send: *, callback: *): *

private

_socketRouteMiddleware(route: *, callback: *)

this => socket

Public Constructors

public constructor() source

Private Methods

private _connectAPI(socket: *) source

Params:

NameTypeAttributeDescription
socket *

private async _socketMiddleware(req: *, res: *, callback: *): * source

Params:

NameTypeAttributeDescription
req *
res *
callback *

Return:

*

private async _socketMiddlewareCallback(req: *, send: *, callback: *): * source

Params:

NameTypeAttributeDescription
req *
send *
callback *

Return:

*

private _socketRouteMiddleware(route: *, callback: *) source

this => socket

Params:

NameTypeAttributeDescription
route *
callback *