瀏覽代碼

[skip ci] fix HttpBase docs (closes #9895)

Aleksandr Kuzmenko 5 年之前
父節點
當前提交
443d6edb0e
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      std/haxe/http/HttpBase.hx

+ 4 - 4
std/haxe/http/HttpBase.hx

@@ -76,9 +76,9 @@ class HttpBase {
 	}
 
 	/**
-		Sets the header identified as `header` to value `value`.
+		Sets the header identified as `name` to value `value`.
 
-		If `header` or `value` are null, the result is unspecified.
+		If `name` or `value` are null, the result is unspecified.
 
 		This method provides a fluent interface.
 	**/
@@ -103,9 +103,9 @@ class HttpBase {
 	}
 
 	/**
-		Sets the parameter identified as `param` to value `value`.
+		Sets the parameter identified as `name` to value `value`.
 
-		If `header` or `value` are null, the result is unspecified.
+		If `name` or `value` are null, the result is unspecified.
 
 		This method provides a fluent interface.
 	**/