Documentation

Hale.HttpConduit.Network.HTTP.Simple

Parse a URL string into a Request. Supports http:// and https:// schemes. Returns none on malformed URLs. $$\text{parseUrl} : \text{String} \to \text{Option Request}$$

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

    Parse a URL, throwing an IO error on failure.

    Equations
    Instances For

      Perform a simple GET request and return the response body as a ByteArray. $$\text{simpleHttp} : \text{String} \to \text{IO ByteArray}$$

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

        Perform an HTTP request and return the full response with a ByteArray body. $$\text{httpBS} : \text{Request} \to \text{IO Response}$$

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

          Perform an HTTP request and return the response body as a ByteArray. Alias for httpBS that returns just the body. $$\text{httpLbs} : \text{Request} \to \text{IO ByteArray}$$

          Equations
          Instances For