spin_sdk::http

Function send

Source
pub async fn send<I, O>(request: I) -> Result<O, SendError>
where I: TryIntoOutgoingRequest, I::Error: Into<Box<dyn Error + Send + Sync>> + 'static, O: TryFromIncomingResponse, O::Error: Into<Box<dyn Error + Send + Sync>> + 'static,
Expand description

Send an outgoing request