Function bitcoin_http::register_http_handler
source · pub fn register_http_handler(
prefix: &String,
exact_match: bool,
handler: &HTTPRequestHandler
)
Expand description
| Register handler for prefix. | | If multiple handlers match a prefix, | the first-registered one will be invoked. |