* gaflight_call_options_add_header: * @options: A #GAFlightCallOptions. * @name: A header name. * @value: A header value. * * Add a header. * * Since: 9.0.0 */
| 310 | * Since: 9.0.0 |
| 311 | */ |
| 312 | void |
| 313 | gaflight_call_options_add_header(GAFlightCallOptions *options, |
| 314 | const gchar *name, |
| 315 | const gchar *value) |
| 316 | { |
| 317 | auto flight_options = gaflight_call_options_get_raw(options); |
| 318 | flight_options->headers.emplace_back(name, value); |
| 319 | } |
| 320 | |
| 321 | /** |
| 322 | * gaflight_call_options_clear_headers: |
nothing calls this directly
no test coverage detected