Skip to main content

criar_cliente_http

Function criar_cliente_http 

Source
pub fn criar_cliente_http() -> Result<Client>
Expand description

Creates a reusable HTTP client with rustls-TLS, 30 s timeout, and HTTP/2.

The client should be created once per invocation and shared via Arc.