api/api/input.h¶
Namespaces¶
| Name |
|---|
| cvedia |
| cvedia::rt API for controlling the server and lifecycle management of runtime instances. |
| cvedia::rt::api |
| cvedia::rt::api::input |
Functions¶
| Name | |
|---|---|
| void | registerUriHandler(std::string const & protocol, module::createInputHandler func) |
| bool | hasUriHandler(std::string const & protocol) |
| NODISCARD expected< module::createInputHandler > | getUriHandler(std::string const & protocol) |
| void | registerExtHandler(std::string const & protocol, module::createInputHandler func) |
| bool | hasExtHandler(std::string const & extension) |
| void | removeAllHandlers() |
| NODISCARD expected< module::createInputHandler > | getExtHandler(std::string const & extension) |
Functions Documentation¶
function registerUriHandler¶
void registerUriHandler(
std::string const & protocol,
module::createInputHandler func
)
function hasUriHandler¶
bool hasUriHandler(
std::string const & protocol
)
function getUriHandler¶
NODISCARD expected< module::createInputHandler > getUriHandler(
std::string const & protocol
)
function registerExtHandler¶
void registerExtHandler(
std::string const & protocol,
module::createInputHandler func
)
function hasExtHandler¶
bool hasExtHandler(
std::string const & extension
)
function removeAllHandlers¶
void removeAllHandlers()
function getExtHandler¶
NODISCARD expected< module::createInputHandler > getExtHandler(
std::string const & extension
)