Lather.Client (lather v1.0.42)
View SourceMain SOAP client interface.
This module provides the primary API for making SOAP requests.
Summary
Functions
Makes a SOAP request to the specified operation.
Creates a new SOAP client for the given endpoint.
Types
Functions
Makes a SOAP request to the specified operation.
Parameters
client- The SOAP clientoperation- The SOAP operation name (atom or string)params- Parameters for the operationoptions- Request-specific options
Examples
iex> _client = Lather.Client.new("https://example.com/soap")
iex> # This would make an actual HTTP request:
iex> # Lather.Client.call(client, :get_user, %{id: 123})
Creates a new SOAP client for the given endpoint.
Options
:timeout- Request timeout in milliseconds (default: 30_000):headers- Additional HTTP headers to include with requests:ssl- SSL options for HTTPS connections
Examples
iex> _client = Lather.Client.new("https://example.com/soap")
%Lather.Client{endpoint: "https://example.com/soap", options: []}