MCPcopy Index your code
hub / github.com/aws/aws-lambda-rust-runtime / into_req

Method into_req

lambda-runtime/src/requests.rs:18–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16
17impl IntoRequest for NextEventRequest {
18 fn into_req(self) -> Result<Request<Body>, Error> {
19 let req = build_request()
20 .method(Method::GET)
21 .uri(Uri::from_static("/2018-06-01/runtime/invocation/next"))
22 .body(Default::default())?;
23 Ok(req)
24 }
25}
26
27// /runtime/invocation/{AwsRequestId}/response

Callers 10

next_event_futureFunction · 0.80
test_next_eventFunction · 0.80
test_ok_responseFunction · 0.80
test_error_responseFunction · 0.80
test_next_event_requestFunction · 0.80
test_event_error_requestFunction · 0.80
pollMethod · 0.80

Calls 7

build_requestFunction · 0.85
uriMethod · 0.80
send_dataMethod · 0.80
to_tailerMethod · 0.80
channelFunction · 0.70
from_strFunction · 0.50
into_responseMethod · 0.45

Tested by 6

test_next_eventFunction · 0.64
test_ok_responseFunction · 0.64
test_error_responseFunction · 0.64
test_next_event_requestFunction · 0.64
test_event_error_requestFunction · 0.64