| Class | Mongo::Server::Context |
| In: |
lib/mongo/server/context.rb
|
| Parent: | Object |
Represents a context in which messages are sent to the server on a connection.
@since 2.0.0
@deprecated Will be removed in version 3.0
| server | [R] | @return [ Mongo::Server ] server The server the context is for. |
Instantiate a server context.
@example Instantiate a server context.
Mongo::Server::Context.new(server)
@param [ Mongo::Server ] server The server the context is for.
@since 2.0.0