View Source OpenAI.Behaviours.HttpClientBehaviour behaviour (OpenAI API Wrapper v0.1.3)
Link to this section Summary
Link to this section Callbacks
@callback multipart_request( OpenAI.HttpClient.request_methods(), binary(), [{binary(), binary()}], Multipart.t(), keyword() ) :: {:ok, map()} | {:error, OpenAI.Error.t() | term()}
@callback request( OpenAI.HttpClient.request_methods(), binary(), [{binary(), binary()}], map() | nil, keyword() ) :: {:ok, map()} | {:error, OpenAI.Error.t() | term()}