# infusion_runtime v0.1.0 - API Reference

## Modules

- [Infusion.Runtime](Infusion.Runtime.md): The behaviour every SDK generated by Infusion shares.
- [Infusion.Runtime.Any](Infusion.Runtime.Any.md): Stands in for a schema the spec refers to but doesn't define: the JSON is
kept as it is.

- [Infusion.Runtime.Config](Infusion.Runtime.Config.md): Client settings, merged from layers: the SDK's generated defaults, then the
application environment, then the options of a single call.
- [Infusion.Runtime.Form](Infusion.Runtime.Form.md): Encodes nested data as `application/x-www-form-urlencoded`, the way Stripe
and Twilio expect it.
- [Infusion.Runtime.Paginate](Infusion.Runtime.Paginate.md): Turns a list operation into a lazy stream of every item, fetching pages
as they are needed.
- [Infusion.Runtime.Request](Infusion.Runtime.Request.md): Sends one API call: builds the HTTP request from an operation, retries it
when that is safe, and decodes the response.
- [Infusion.Runtime.SSE](Infusion.Runtime.SSE.md): An incremental parser for Server-Sent Events (`text/event-stream`), as the
[HTML standard](https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation)
describes them.
- [Infusion.Runtime.SSE.Event](Infusion.Runtime.SSE.Event.md): One event: `data` is always a string; `event`, `id` and `retry` may be nil.
- [Infusion.Runtime.Schema](Infusion.Runtime.Schema.md): Decodes JSON into the structs of a generated SDK.

- Exceptions
  - [Infusion.Runtime.Error](Infusion.Runtime.Error.md): The error every SDK call returns as `{:error, %Infusion.Runtime.Error{}}`.

