Copyright | (c) Winterland, 2016 |
---|---|
License | BSD |
Maintainer | drkoster@qq.com |
Stability | experimental |
Portability | PORTABLE |
Safe Haskell | None |
Language | Haskell2010 |
This module provides secure MySQL connection using HsOpenSSL
package.
- connect :: ConnectInfo -> (SSLContext, String) -> IO MySQLConn
- connectDetail :: ConnectInfo -> (SSLContext, String) -> IO (Greeting, MySQLConn)
Documentation
connect :: ConnectInfo -> (SSLContext, String) -> IO MySQLConn Source
Provide a SSLContext
and a subject name to establish a TLS connection.
connectDetail :: ConnectInfo -> (SSLContext, String) -> IO (Greeting, MySQLConn) Source