MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / get_handler

Method get_handler

vmm/src/api/http/mod.rs:157–164  ·  view source on GitHub ↗
(
        &self,
        _api_notifier: EventFd,
        _api_sender: Sender<ApiRequest>,
        _body: &Option<Body>,
    )

Source from the content-addressed store, hash-verified

155 }
156
157 fn get_handler(
158 &self,
159 _api_notifier: EventFd,
160 _api_sender: Sender<ApiRequest>,
161 _body: &Option<Body>,
162 ) -> std::result::Result<Option<Body>, HttpError> {
163 Err(HttpError::BadRequest)
164 }
165}
166
167/// An HTTP routes structure.

Callers 1

handle_requestMethod · 0.45

Implementers 1

http_endpoint.rsvmm/src/api/http/http_endpoint.rs

Calls

no outgoing calls

Tested by

no test coverage detected