DDDBrowserPreviewServer๏ƒ

Inherits: RefCounted < Object

Serves an exported DDDBrowser page via HTTPServer for local testing.

Description๏ƒ

Registers GET routes and uses HTTPResponse.set_file(). Enable Allow HTTP in DDDBrowser when loading http://127.0.0.1 URLs.

Methods๏ƒ

String

get_index_url() const

int

get_port() const

String

get_root_dir() const

bool

is_running() const

Error

start(root_dir: String, port: int = 8081)

void

stop()


Method Descriptions๏ƒ

String get_index_url() const ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


int get_port() const ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


String get_root_dir() const ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


bool is_running() const ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


Error start(root_dir: String, port: int = 8081) ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


void stop() ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!