The Http protocol can be used by an instance of the SDK to communicate with your Kuzzle server.
This protocol does not allow to use the real-time notifications.
If you need real-time features, then you have to use the WebSocket protocol.
About HTTP routing #
For confidentiality reasons, it is preferable to expose only the
server:publicApi route to the anonymous user.
If this route is not available, the SDK will use the static definition of API routes that does not include routes developed in plugins.
Finally, it is also possible to manually define the routes to the actions of its plugins using the
customRoutes option with the Http protocol constructor.