.. _server:

Server class
^^^^^^^^^^^^


.. autoclass:: simplecouchdb.client.Server

    **Properties**

    .. attribute:: uri

        Str, uri of couchdb server.
        
    .. attribute:: http

        An http instance from `httplib2.http`. Could be used to manage
        authentification to your server or proxy.

    .. attribute:: headers

        Dict or string, optionnal HTTP headers that you need.

    **Methods**

    .. automethod:: simplecouchdb.client.Server.info

    .. automethod:: simplecouchdb.client.Server.all_dbs

    .. automethod:: simplecouchdb.client.Server.create_db

    .. automethod:: simplecouchdb.client.Server.delete_db

    .. automethod:: simplecouchdb.client.Server.get_db

    .. automethod:: simplecouchdb.client.Server.db_exist

    .. automethod:: simplecouchdb.client.Server.compact_db

    .. automethod:: simplecouchdb.client.Server.replicate

    .. automethod:: simplecouchdb.client.Server.__contains__

    .. automethod:: simplecouchdb.client.Server.__iter__

    .. automethod:: simplecouchdb.client.Server.__len__

    .. automethod:: simplecouchdb.client.Server.__nonzero__

    .. automethod:: simplecouchdb.client.Server.__delitem__

    .. automethod:: simplecouchdb.client.Server.__getitem__

