Documentation

Hale.WaiExtra.Network.Wai.Test

A simulated request for testing.

Instances For

    A captured response from testing.

    Instances For

      Build a WAI Request from an SRequest.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Run a WAI Application with a simulated request and capture the response. Runs the Green computation via Green.block. $$\text{runSession} : \text{Application} \to \text{SRequest} \to \text{IO SResponse}$$

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Convenience: GET request.

          Equations
          Instances For
            def Network.Wai.Test.post (app : Application) (path : String) (body : ByteArray) (contentType : String := "application/octet-stream") :

            Convenience: POST request with body.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For