Gates object
Revision as of 18:12, 2 April 2020 by Alexei.baranov (talk | contribs) (Created page with "= Gates Object = Object representing i2Rest Gates settings {| style="width: 100%; vertical-align:top; border-collapse:collapse" border="1" | style="width: 10%; padding:...")
Gates Object
Object representing i2Rest Gates settings
Field | Type | Description | Default value |
main | gate object | REQUIRED. Main gate settings
Used to define settings of main gate |
|
session | gate object | REQUIRED. Session gate settings
Used to define settings of session gate. |
|
management | gate object | REQUIRED. Management gate settings
Used to define settings of management gate. |
Example:
"gates": { "main" : {"url":"https://i2rest.com", "dcm_server_id":"I2REST", "debug":4, "clients_max":50, "recv_timeout":2}, "management" : {"url":"http://localhost:12345", "debug":4, "recv_timeout":2}, "session" : {"debug":4, "client_timeout":120000, "recv_timeout":2} }
This will start i2Rest server listening incoming client connections at port 443, secured with I2REST server application, management requests will be accepted at port 12345, sessions will communicate to i2Rest server using unix stream sockets at temporary file in /tmp directory.