[][src]Module lhi::server

HTTP server

Modules

unsecure

HTTP to HTTPS redirecter

Structs

HttpRequest

HTTP request structure

HttpSettings

HTTP server settings

ResponseData

Additional response data

Enums

HttpMethod

HTTP request method (GET or POST)

Functions

accept_connections

Accept connections

certificate_config

Generate config with TLS certificate and private key

handle_connection

Handle connection

listen

Listen on TCP

load_certificate

Generate config with TLS certificate and private key from file

redirect

Create HTTP redirect response

respond

Create HTTP response

Type Definitions

Handler

Handler function

Stream

TLS stream