menu
dartvel_shelf package
documentation
main.dart
main.dart
dark_mode
light_mode
main
library
Classes
Body
CorsOptions
CORS options.
Headers
Request
Response
Router
ServerHandle
Server handle for builds where the native FFI server is not linked.
TlsConfig
TLS configuration.
URLPattern
Functions
serve
(
Future
<
Response
>
handler
(
Request
), {
String
host
=
'127.0.0.1'
,
int
port
=
8080
,
TlsConfig
?
tls
,
bool
h2c
=
false
,
CorsOptions
?
cors
,
String
?
staticDir
,
String
?
spaRoot
,
bool
compression
=
true
})
→
Future
<
ServerHandle
>
Serves the handler configuration.
dartvel_shelf package
documentation
main.dart
dartvel_shelf
package
Libraries
backend
core
dartvel_shelf
main
main library