Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_CLIENT_...REAM_INITIATOR(3) libmongocMONGOC_CLIENT_...REAM_INITIATOR(3)

SYNOPSIS
	  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 en-
       sure user_data remains valid for	the lifetime of	the client.

PARAMETERS
        client: A mongoc_client_t.

        initiator: A mongoc_stream_initiator_t.

        user_data: User supplied pointer for callback function.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 202MONGOC_CLIENT_...REAM_INITIATOR(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_set_stream_initiator&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help