Telegramex.HTTPClient behaviour (Telegramex v0.1.0) View Source
Specifies the behaviour of a HTTP Client.
You can switch the default HTTP client which uses finch underneath
by defining a different implementation by setting the :http_client
configuration in Telegramex.Client
:
client = %Telegramex.Client{http_client: {MyCustomHTTPClient, []}}
Telegramex.get_updates(client)
Link to this section Summary
Callbacks
Sends an HTTP request.