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

Method put_handler

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

Source from the content-addressed store, hash-verified

145 }
146
147 fn put_handler(
148 &self,
149 _api_notifier: EventFd,
150 _api_sender: Sender<ApiRequest>,
151 _body: &Option<Body>,
152 _files: Vec<File>,
153 ) -> std::result::Result<Option<Body>, HttpError> {
154 Err(HttpError::BadRequest)
155 }
156
157 fn get_handler(
158 &self,

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