[−][src]Function kpal::web::routes
pub fn routes(
request: &Request,
libs: &[TSLibrary],
txs: Arc<RwLock<Transmitters>>
) -> Response
Directs a HTTP request to the appropriate handler and returns a HTTP response.
Arguments
request
- The object containing the information concerning the client's requestlibs
The set of libraries that is currently open by the daemontransmitters
The set of transmitters for sending messages into each peripheral thread