new CommunicationApi(constructorOptions)
communicationCommunications-Handling API
| Name | Type | Description |
|---|---|---|
constructorOptions |
CommunicationConstructorOptions |
Options for constructor |
Throws:
Methods
-
auth(originalOptions, callback)
communication -
Authenticate against Zimbra.
Name Type Description originalOptionsAuthOptions options for auth
callbackcallback Callback run with optional error (see throws)
Throws:
-
getRequest(originalOptions, callback)
communication -
Get a prebuilt request with an auth token.
Name Type Description originalOptionsGetRequestOptions options for GetRequest
callbackcallback run with optional Error (see throws) and Request-Object
Throws:
-
send(request, callback)
communication -
Send a request to the Zimbra server and pass a response to the callback
Name Type Description requestRequestApi The request to send
callbackcallback callback run with optional error (see throws) and Response
Throws: