Skip to content
module@warp-drive/utilities

Interface BuildURLConfig

Defined in: index.ts:20

The global configuration used by buildBaseURL when a call does not provide its own host/namespace. Set via setBuildURLConfig.

Properties

host

ts
host: string | null;

Defined in: index.ts:24

The scheme, domain and port (if any) to prefix built URLs with, e.g. 'https://api.example.com'.


namespace

ts
namespace: string | null;

Defined in: index.ts:28

The path segment to insert between host and the resource path, e.g. 'api/v1'.

Released under the MIT License.