| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Wuss
- runSecureClient :: HostName -> PortNumber -> String -> ClientApp a -> IO a
- runSecureClientWith :: HostName -> PortNumber -> String -> ConnectionOptions -> Headers -> ClientApp a -> IO a
Documentation
Arguments
| :: HostName | Host |
| -> PortNumber | Port |
| -> String | Path |
| -> ClientApp a | Application |
| -> IO a |
>>>let app _connection = return ()>>>runSecureClient "echo.websocket.org" 443 "/" app
Arguments
| :: HostName | Host |
| -> PortNumber | Port |
| -> String | Path |
| -> ConnectionOptions | Options |
| -> Headers | Headers |
| -> ClientApp a | Application |
| -> IO a |
>>>let options = defaultConnectionOptions>>>let headers = []>>>let app _connection = return ()>>>runSecureClientWith "echo.websocket.org" 443 "/" options headers app