server/adapter/server_adapter
library
Classes
-
AdaptedServer
-
A server that tells its ServerAdapter. Dox uses that adapter for a
server that the app binds itself (a
CustomServer of dox_core).
-
GrpcStream
-
One gRPC call on an HTTP/2 stream of the server. dox_grpc reads the
request and writes the answer through it. Each ServerAdapter that
speaks HTTP/2 has its own kind (see ServerAdapter.grpcStream).
-
ServerAdapter
-
The work that differs between HTTP servers under Dox. A server
package extends it, and the app gives it to
Dox().startServer(server:). Dox opens each port with bind, with
the settings of AppConfig.
-
ServerAdapters
-
Picks the ServerAdapter of the app, and makes the ServerSettings
of a port from
AppConfig.
-
ServerFile
-
A file the server opened, to send with no byte through Dart (eg.
sendfile). Each ServerAdapter has its own kind.
-
ServerSettings
-
The settings of one port. Dox makes them from
AppConfig (and the
http2 and tls of the port), and gives them to
ServerAdapter.bind.
-
ServerTls
-
The certificate and key files of a port with TLS.