1MONGOC_GRIDFS_FILE_SET_CONTENT_TYPE(l3i)bmonMgOoNcGOC_GRIDFS_FILE_SET_CONTENT_TYPE(3)
2
3
4
6 mongoc_gridfs_file_set_content_type - mongoc_gridfs_file_set_con‐
7 tent_type()
8
10 void
11 mongoc_gridfs_file_set_content_type (mongoc_gridfs_file_t *file,
12 const char *content_type);
13
15 • file: A mongoc_gridfs_file_t.
16
17 • str: A string containing the content type.
18
20 Sets the content type for the gridfs file. This should be something
21 like "text/plain".
22
23 You need to call mongoc_gridfs_file_save() to persist this change.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.23.1 Oct 20,M2O0N2G2OC_GRIDFS_FILE_SET_CONTENT_TYPE(3)