mongoDB-2.7.0.0: Driver (client) for MongoDB, a free, scalable, fast, document DBMS

Copyright(c) Victor Denisov 2016
LicenseApache 2.0
MaintainerVictor Denisov denisovenator@gmail.com
Stabilityalpha
PortabilityPOSIX
Safe HaskellSafe
LanguageHaskell2010

Database.MongoDB.Transport

Description

This module defines a connection interface. It could be a regular network connection, TLS connection, a mock or anything else.

Synopsis

Documentation

data Transport Source #

Abstract transport interface

read should return null on EOF

Constructors

Transport 

Fields

fromHandle :: Handle -> IO Transport Source #

Make connection from handle