SipInfoService

enfonica.voice.v1beta1. SipInfoService

Represents a SipInfoService

Constructor

new SipInfoService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new SipInfoService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SipInfoService}

Creates new SipInfoService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
SipInfoService

RPC service. Useful where requests and/or responses are streamed.

getSipInfo(request, callback) → {undefined}

Calls GetSipInfo.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IGetSipInfoRequest

GetSipInfoRequest message or plain object

callback enfonica.voice.v1beta1.SipInfoService.GetSipInfoCallback

Node-style callback called with the error, if any, and SipInfo

Returns:
Type Description
undefined

getSipInfo(request) → {Promise.<enfonica.voice.v1beta1.SipInfo>}

Calls GetSipInfo.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IGetSipInfoRequest

GetSipInfoRequest message or plain object

Returns:
Type Description
Promise.<enfonica.voice.v1beta1.SipInfo>

Promise

Type Definitions

GetSipInfoCallback(error, responseopt)

Callback as used by enfonica.voice.v1beta1.SipInfoService#getSipInfo.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response enfonica.voice.v1beta1.SipInfo <optional>

SipInfo