HttpFeature.kt

  1. package com.hexagontk.http

  2. /**
  3.  * Toolkit feature that may or may not be implemented by a server adapter.
  4.  *
  5.  * TODO Take advantage in tests to fire only tests that apply
  6.  *
  7.  * @property ZIP Request and response compression.
  8.  * @property COOKIES .
  9.  * @property MULTIPART .
  10.  * @property WEBSOCKETS Support for server Web Sockets.
  11.  * @property SSE Support for Server Sent Events.
  12.  * @property UNIX_DOMAIN_SOCKETS Support for Unix Domain Sockets.
  13.  */
  14. enum class HttpFeature {
  15.     ZIP,
  16.     COOKIES,
  17.     MULTIPART,
  18.     WEBSOCKETS,
  19.     SSE,
  20.     UNIX_DOMAIN_SOCKETS,
  21. }