1MONGOC_STREAM_T(3) libmongoc MONGOC_STREAM_T(3)
2
3
4
6 mongoc_stream_t - mongoc_stream_t
7
9 typedef struct _mongoc_stream_t mongoc_stream_t
10
11 mongoc_stream_t provides a generic streaming IO abstraction based on a
12 struct of pointers interface. The idea is to allow wrappers, perhaps
13 other language drivers, to easily shim their IO system on top of mon‐
14 goc_stream_t.
15
16 The API for the stream abstraction is currently private and non-exten‐
17 sible.
18
20 There are a number of built in stream types that come with mongoc. The
21 default configuration is a buffered unix stream. If TLS is in use, that
22 in turn is wrapped in a tls stream.
23
25 mongoc_stream_buffered_t
26
27 mongoc_stream_file_t
28
29 mongoc_stream_socket_t
30
31 mongoc_stream_tls_t
32
34 MongoDB, Inc
35
37 2017-present, MongoDB, Inc
38
39
40
41
421.17.4 Feb 04, 2021 MONGOC_STREAM_T(3)