Methods

(inner) certificate()

Extracts information from the Certified Public Key in the Domino® Directory.

Throws:

no plans to implement

Type
Error

(inner) getHTTPHeader()

In a Web application, returns the value of an HTTP header from the browser client request being processed by the server.

See
To Do
  • this needs to be implemented
Throws:

method not implemented

Type
Error

(inner) getPortsList()

Returns a list of enabled or disabled ports.

Throws:

no plans to implement

Type
Error

(inner) restfulAPI(url, method, headers, body, additionalRequestParams) → {Promise.<any>}

Function to call a restful API.

Parameters:
NameTypeDefaultDescription
urlstring

The URL of the REST service.

methodstring

The HTTP method (GET, POST, PUT, DELETE, etc.).

headersstring

Optional headers to include in the request as a JSON string.

bodystringnull

Optional body for POST, PUT, or PATCH requests as a JSON string.

additionalRequestParamsstringnull

Optional additional request parameters as a JSON string.

Returns:
  • A promise that resolves to the response data or rejects with an error.
Type: 
Promise.<any>

(inner) setHTTPHeader()

In a Web application, sets the value of HTTP headers in the response being generated by the server for the browser client.

See
To Do
  • this needs to be implemented
Throws:

method not implemented

Type
Error