| Copyright | (c) Winterland 2016 |
|---|---|
| License | BSD |
| Maintainer | [email protected] |
| Stability | experimental |
| Portability | PORTABLE |
| Safe Haskell | None |
| Language | Haskell2010 |
Database.MySQL.OpenSSL
Description
This module provides secure MySQL connection using HsOpenSSL package.
Synopsis
- connect :: ConnectInfo -> (SSLContext, String) -> IO MySQLConn
- connectDetail :: ConnectInfo -> (SSLContext, String) -> IO (Greeting, MySQLConn)
- module Data.OpenSSLSetting
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 #
module Data.OpenSSLSetting