Scroll to navigation

MONGOC_GRIDFS_FILE_GET_CONTENT_TYPE(3) libmongoc MONGOC_GRIDFS_FILE_GET_CONTENT_TYPE(3)

SYNOPSIS

const char *
mongoc_gridfs_file_get_content_type (mongoc_gridfs_file_t *file);


PARAMETERS

file: A mongoc_gridfs_file_t <>.

DESCRIPTION

Fetches the content type specified for the underlying file.

RETURNS

Returns a string which should not be modified or freed.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1