mongoc_gridfs_file_get_content_type man page

mongoc_gridfs_file_get_content_type ā€” mongoc_gridfs_file_get_content_type()

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

Info

May 24, 2017 1.6.3 MongoDB C Driver