1MONGOC_GRIDFS_FILE_SET_CONTENT_TYPE(l3i)bmonMgOoNcGOC_GRIDFS_FILE_SET_CONTENT_TYPE(3)
2
3
4
6 void
7 mongoc_gridfs_file_set_content_type (mongoc_gridfs_file_t *file,
8 const char *content_type);
9
11 • file: A mongoc_gridfs_file_t.
12
13 • str: A string containing the content type.
14
16 Sets the content type for the gridfs file. This should be something
17 like "text/plain".
18
19 You need to call mongoc_gridfs_file_save() to persist this change.
20
22 MongoDB, Inc
23
25 2017-present, MongoDB, Inc
26
27
28
29
301.25.1 Nov 08,M2O0N2G3OC_GRIDFS_FILE_SET_CONTENT_TYPE(3)