Network
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
- For further information, see www.hcltechsw.com
- 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:
Name | Type | Default | Description |
---|---|---|---|
url | string | The URL of the REST service. | |
method | string | The HTTP method (GET, POST, PUT, DELETE, etc.). | |
headers | string | Optional headers to include in the request as a JSON string. | |
body | string | null | Optional body for POST, PUT, or PATCH requests as a JSON string. |
additionalRequestParams | string | null | 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
- For further information, see www.hcltechsw.com
- To Do
- this needs to be implemented
Throws:
method not implemented
- Type
- Error