方法

ArrowFlightCallOptionsadd_header

自:9.0.0 起可用

声明 [源代码]

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

描述 [源代码]

添加一个头部。

可用自:9.0.0

参数

name

类型: const gchar*

头部名称。

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

类型: const gchar*

头部值。

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