typedef struct _mongoc_stream_t mongoc_stream_t
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_STREAM_T(3)
Stream Types
There are a number of built in stream types that come with mongoc. The default configuration is a
buffered unix stream. If TLS is in use, that in turn is wrapped in a tls stream.
SEEALSO:mongoc_stream_buffered_tmongoc_stream_file_tmongoc_stream_socket_tmongoc_stream_tls_tSynopsis
typedef struct _mongoc_stream_t mongoc_stream_t
mongoc_stream_t provides a generic streaming IO abstraction based on a struct of pointers interface. The
idea is to allow wrappers, perhaps other language drivers, to easily shim their IO system on top of
mongoc_stream_t.
The API for the stream abstraction is currently private and non-extensible.
