logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mongoc_uri_t *

Author

       MongoDB, Inc

Description

       Creates a new mongoc_uri_t based on the hostname and port provided.

Parameters

hostname: A string containing the hostname.

       • port: A uint16_t.

Returns

       Returns  a  newly allocated mongoc_uri_t that should be freed with mongoc_uri_destroy() when no longer in
       use.

Synopsis

          mongoc_uri_t *
          mongoc_uri_new_for_host_port (const char *hostname, uint16_t port);

See Also