Skip to main content

Crate momento_functions_http

Crate momento_functions_http 

Source
Expand description

Host interfaces for making HTTP requests from Momento Functions.

This crate provides a typed API for sending HTTP requests, with support for custom headers, request bodies, and AWS authorization strategies.

Structs§

AwsSigV4Secret
SigV4 credentials for signing an AWS request.
Data
A buffer of bytes, which may be inline or on the host.
IamRole
An IAM role for Momento to federate into when making the request.
Request
An HTTP request.
Response
A response from an HTTP request.

Enums§

Authorization
Authorization strategy for an HTTP request.
HttpError
An error returned by an HTTP request.

Functions§

invoke
Send an HTTP request.