Store a socket with some metadata.
Parameters : |
|
---|
Log in to the server and store these credentials in authset.
Can raise ConnectionFailure or OperationFailure.
Parameters : |
|
---|
Update this socket’s authentication.
Log in or out to bring this socket’s credentials up to date with those provided. Can raise ConnectionFailure or OperationFailure.
Parameters : |
|
---|
Execute a command or raise ConnectionFailure or OperationFailure.
Parameters : |
|
---|
Send OP_INSERT, etc., optionally returning response as a dict.
Can raise ConnectionFailure or OperationFailure.
Parameters : |
|
---|
Receive a raw BSON message or raise ConnectionFailure.
If any exception is raised, the socket is closed.
Send a raw BSON message or raise ConnectionFailure.
If a network exception is raised, the socket is closed.
Send “insert” etc. command, returning response as a dict.
Can raise ConnectionFailure or OperationFailure.
Parameters : |
|
---|