GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MONGOC_CLIENT_SET_STREAM_INITIATOR(3) libmongoc MONGOC_CLIENT_SET_STREAM_INITIATOR(3)

void
mongoc_client_set_stream_initiator (mongoc_client_t *client,

mongoc_stream_initiator_t initiator,
void *user_data);


The mongoc_client_set_stream_initiator() function shall associate a given mongoc_client_t with a new stream initiator. This will completely replace the default transport (buffered TCP, possibly with TLS). The initiator should fulfill the mongoc_stream_t contract. user_data is passed through to the initiator callback and may be used for whatever run time customization is necessary.

If user_data is passed, it is the application's responsibility to ensure user_data remains valid for the lifetime of the client.

  • client: A mongoc_client_t.
  • initiator: A mongoc_stream_initiator_t.
  • user_data: User supplied pointer for callback function.

MongoDB, Inc

2009-present, MongoDB, Inc.

July 3, 2025 1.30.4

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.