# `Lather.Server.Plug`
[🔗](https://github.com/awksedgreep/lather/blob/v1.0.49/lib/lather/server/plug.ex#L1)

Plug implementation for SOAP server endpoints.

Handles incoming SOAP requests, routes them to appropriate operations,
and formats responses according to SOAP standards.

## Usage

In Phoenix router:

    scope "/soap" do
      pipe_through :api
      post "/users", Lather.Server.Plug, service: MyApp.UserService
    end

As standalone Plug:

    plug Lather.Server.Plug, service: MyApp.UserService

## Options

- `:service` - The SOAP service module (required)
- `:path` - Base path for WSDL generation (default: "/")
- `:auth_handler` - Custom authentication handler
- `:validate_params` - Enable parameter validation (default: true)
- `:generate_wsdl` - Enable WSDL generation endpoint (default: true)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
