Protocols

In AMPS, Protocols define the format of the commands that clients use to communicate with the server.

AMPS offers a range of preconfigured protocols. The recommended protocols for application connections are:

The Protocols element configures options for a given protocol. The element is a container for one or more Protocol elements. Each Protocol is a combination of a Module, that defines the basic protocol, and a set of options to configure the behavior of that basic protocol.

Many installations of AMPS have no need to configure a Protocols block. When this is required, it is most common to need to specify the options used by the websocket protocol to match the needs of the operating environment. See Websocket Options for more details.

Websocket Options

The websocket protocol accepts the following additional configuration options:

<AMPSConfig>

   ...
   <Protocols>
     <Protocol>
       <Name>websocket-portal</Name>
       <Module>websocket</Module>
       <WWWAuthenticate>Basic realm="AMPS Admin"</WWWAuthenticate>
       <TrustedAdmin>enabled</TrustedAdmin>
     </Protocol>
   </Protocols>

 </AMPSConfig>

Last updated

Copyright 2013-2024 60East Technologies, Inc.