automorph.transport.http.server
Members list
Type members
Classlikes
Akka HTTP server transport plugin.
Akka HTTP server transport plugin.
Interprets HTTP request body as an RPC request and processes it using the specified RPC request handler.
- The response returned by the RPC request handler is used as HTTP response body.
Type parameters
- Effect
-
effect type
Value parameters
- config
-
actor system configuration
- effectSystem
-
effect system plugin
- guardianProps
-
guardian actor properties
- handler
-
RPC request handler
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods
- pathPrefix
-
HTTP URL path prefix, only requests starting with this path prefix are allowed
- port
-
port to listen on for HTTP connections
- readTimeout
-
request read timeout
- serverSettings
-
HTTP server settings
Attributes
Attributes
- Companion
- class
- Supertypes
- Self type
-
AkkaServer.type
Jetty HTTP & WebSocket server message transport plugin.
Jetty HTTP & WebSocket server message transport plugin.
Interprets HTTP request body as an RPC request and processes it using the specified RPC request handler.
- The response returned by the RPC request handler is used as HTTP response body.
- Processes only HTTP requests starting with specified URL path.
Type parameters
- Effect
-
effect type
Value parameters
- attributes
-
server attributes
- effectSystem
-
effect system plugin
- handler
-
RPC request handler
- idleTimeout
-
idle WebSocket connection timeout
- mapException
-
maps an exception to a corresponding HTTP status code
- maxFrameSize
-
maximum WebSocket frame size
- methods
-
allowed HTTP request methods
- pathPrefix
-
HTTP URL path prefix, only requests starting with this path prefix are allowed
- port
-
port to listen on for HTTP connections
- threadPool
-
thread pool
- webSocket
-
support upgrading of HTTP connections to use WebSocket protocol if true, support HTTP only if false
Attributes
Attributes
- Companion
- class
- Supertypes
- Self type
-
JettyServer.type
NanoHTTPD HTTP & WebSocket server message transport plugin.
NanoHTTPD HTTP & WebSocket server message transport plugin.
Interprets HTTP request body as an RPC request and processes it using the specified RPC request handler.
- The response returned by the RPC request handler is used as HTTP response body.
- Processes only HTTP requests starting with specified URL path.
Type parameters
- Effect
-
effect type
Value parameters
- effectSystem
-
effect system plugin
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods
- pathPrefix
-
HTTP URL path prefix, only requests starting with this path prefix are allowed
- port
-
port to listen on for HTTP connections
- readTimeout
-
request read timeout
- threads
-
number of request processing threads
- webSocket
-
support upgrading of HTTP connections to use WebSocket protocol if true, support HTTP only if false
Attributes
- Constructor
-
Creates a NanoHTTPD HTTP & WebSocket server with specified effect system.
- See also
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
- Self type
-
NanoServer.type
Undertow HTTP & WebSocket server message transport plugin.
Undertow HTTP & WebSocket server message transport plugin.
Interprets HTTP request body as an RPC request and processes it using the specified RPC request handler.
- The response returned by the RPC request handler is used as HTTP response body.
- Processes only HTTP requests starting with specified URL path.
Type parameters
- Effect
-
effect type
Value parameters
- builder
-
Undertow builder
- effectSystem
-
effect system plugin
- handler
-
RPC request andler
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods
- pathPrefix
-
HTTP URL path prefix, only requests starting with this path prefix are allowed
- port
-
port to listen on for HTTP connections
- webSocket
-
support upgrading of HTTP connections to use WebSocket protocol if true, support HTTP only if false
Attributes
Attributes
- Companion
- class
- Supertypes
- Self type
-
UndertowServer.type
Vert.x HTTP & WebSocket server message transport plugin.
Vert.x HTTP & WebSocket server message transport plugin.
Interprets HTTP request body as an RPC request and processes it using the specified RPC request handler.
- The response returned by the RPC request handler is used as HTTP response body.
- Processes only HTTP requests starting with specified URL path.
Type parameters
- Effect
-
effect type
Value parameters
- effectSystem
-
effect system plugin
- handler
-
RPC request handler
- httpServerOptions
-
HTTP server options
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods
- pathPrefix
-
HTTP URL path prefix, only requests starting with this path prefix are allowed
- port
-
port to listen on for HTTP connections
- vertxOptions
-
VertX options
- webSocket
-
support upgrading of HTTP connections to use WebSocket protocol if true, support HTTP only if false
Attributes
Attributes
- Companion
- class
- Supertypes
- Self type
-
VertxServer.type