Copyright | (c) Winterland, 2016 |
---|---|
License | BSD |
Maintainer | drkoster@qq.com |
Stability | experimental |
Portability | PORTABLE |
Safe Haskell | None |
Language | Haskell2010 |
Auth related packet.
- data Greeting = Greeting {}
- putGreeting :: Greeting -> Put
- getGreeting :: Get Greeting
- data Auth = Auth {
- authCaps :: !Word32
- authMaxPacket :: !Word32
- authCharset :: !Word8
- authName :: !ByteString
- authPassword :: !ByteString
- authSchema :: !ByteString
- getAuth :: Get Auth
- putAuth :: Auth -> Put
- data SSLRequest = SSLRequest {
- sslReqCaps :: !Word32
- sslReqMaxPacket :: !Word32
- sslReqCharset :: !Word8
- getSSLRequest :: Get SSLRequest
- putSSLRequest :: SSLRequest -> Put
- clientCap :: Word32
- clientMaxPacketSize :: Word32
- clientCharset :: Word8
- supportTLS :: Word32 -> Bool
- sslRequest :: SSLRequest
Documentation
Greeting | |
|
putGreeting :: Greeting -> Put Source
getGreeting :: Get Greeting Source
Auth | |
|
data SSLRequest Source
SSLRequest | |
|
Eq SSLRequest Source | |
Show SSLRequest Source | |
Binary SSLRequest Source |
getSSLRequest :: Get SSLRequest Source
putSSLRequest :: SSLRequest -> Put Source
Always use utf8_general_ci
when connecting mysql server,
since this will simplify string decoding.
supportTLS :: Word32 -> Bool Source