方法

ArrowFlightCallOptionsadd_header

始于: 9.0.0

声明 [src]

void
gaflight_call_options_add_header (
  GAFlightCallOptions* options,
  const gchar* name,
  const gchar* value
)

描述 [src]

添加一个头部。

从以下版本可用: 9.0.0

参数

name

类型: const gchar*

一个头部名称。

数据由函数的调用者拥有。
该值是以 NUL 结尾的 UTF-8 字符串。
value

类型: const gchar*

一个头部值。

数据由函数的调用者拥有。
该值是以 NUL 结尾的 UTF-8 字符串。