Deepstream is in maintenance mode, contributors needed

HTTP Endpoint

Learn how to configure a HTTP Endpoint

This page needs to be improved/might be out of date! Raise a PR if you feel like adding a few details or totally revamping it.

How to configure:

connectionEndpoints:
  - type: http
    options:
      # allow 'authData' parameter in POST requests, if disabled only token and OPEN auth is
      # possible
      allowAuthData: true
      # enable the authentication endpoint for requesting tokens/userData.
      # note: a custom authentication handler is required for token generation
      enableAuthEndpoint: false
      # path for authentication requests
      authPath: /auth
      # path for POST requests
      postPath: /
      # path for GET requests
      getPath: /
      # maximum allowed size of an individual message in bytes
      maxMessageSize: 1024