Skip to content

HttpConfig

ts
type HttpConfig = object;

Defined in: types/environment-config.type.ts:7

Describes a HTTP configuration

Since

1.0.0

Author

Simon Kovtyk

Properties

host?

ts
optional host: string;

Defined in: types/environment-config.type.ts:25

HTTP host

Example

ts
"ogs.de"

See

https://developer.mozilla.org/en-US/docs/Web/API/URL/host

Since

1.0.0

Author

Simon Kovtyk


path?

ts
optional path: string;

Defined in: types/environment-config.type.ts:42

HTTP path, that will be added as base path to the ending of the HTTP connection

Example

ts
"/my-subpath/"

Since

1.0.0

Author

Simon Kovtyk


port?

ts
optional port: number;

Defined in: types/environment-config.type.ts:34

HTTP port

Example

ts
80

See

https://developer.mozilla.org/en-US/docs/Web/API/URL/port

Since

1.0.0

Author

Simon Kovtyk


protocol?

ts
optional protocol: "http" | "https";

Defined in: types/environment-config.type.ts:16

HTTP protocol, that should be depend on

Example

ts
"http"

See

https://developer.mozilla.org/en-US/docs/Web/API/URL/protocol

Since

1.0.0

Author

Simon Kovtyk