lightbulb/providers/http_provider
Types
Represents an HTTP provider that can send requests and receive responses.
pub type HttpProvider {
HttpProvider(
send: fn(Request(String)) -> Result(Response(String), String),
)
}
Constructors
-
HttpProvider( send: fn(Request(String)) -> Result(Response(String), String), )