[ |../../index.htm#lansa/l4wtgu10_0205.htm]
現在地:

11.5.2 AddHeader メソッド

要求ヘッダーを追加します。
入力引数

名前

タイプ

必須

説明

Name

文字列 (Unicode)

はい

ヘッダーの名前

Value

文字列 (Unicode)

はい

ヘッダーの値

戻り値
なし

以下の例は、X-VERSION という要求ヘッダーを追加しています。
Define_Com Class(#XPRIM_HttpRequest) Name(#Request)
 
#Request.Options.AddHeader Name('X-VERSION') Value('1.0')
[ |../../index.htm#lansa/l4wtgu10_0205.htm]