Home Reference Source
public class | source

SocketAddress

Static Method Summary

Static Public Methods
public static

checkIsSocketAddress(sckAddress: *): boolean

public static

createSocketAddress(address: *, port: *, uuid: *): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

address: *

public get
public

port: *

public

uuid: *

Private Members
private
private

Method Summary

Public Methods
public

getAddress(includePort: boolean, includeHTTP: boolean): *

public

async getLocationNow(): *

public
public

matchAddress(address: *, validationDoubleConnectionsTypes: *): boolean

public

toString(): *

Private Methods
private

_extractIPv6(address: *): *

Static Public Methods

public static checkIsSocketAddress(sckAddress: *): boolean source

Params:

NameTypeAttributeDescription
sckAddress *

Return:

boolean

public static createSocketAddress(address: *, port: *, uuid: *): * source

Params:

NameTypeAttributeDescription
address *
port *
uuid *

Return:

*

Public Constructors

public constructor() source

Public Members

public SSL: boolean source

public address: * source

public get geoLocation: * source

public port: * source

public uuid: * source

Private Members

private _geoLocation: * source

private _geoLocationResolver: * source

Public Methods

public getAddress(includePort: boolean, includeHTTP: boolean): * source

Params:

NameTypeAttributeDescription
includePort boolean
  • optional
  • default: true
includeHTTP boolean
  • optional
  • default: false

Return:

*

public async getLocationNow(): * source

Return:

*

public isLocalHost(): boolean source

Return:

boolean

public matchAddress(address: *, validationDoubleConnectionsTypes: *): boolean source

Params:

NameTypeAttributeDescription
address *
validationDoubleConnectionsTypes *

Return:

boolean

public toString(): * source

Return:

*

Private Methods

private _extractIPv6(address: *): * source

Params:

NameTypeAttributeDescription
address *

Return:

*