@next2d/net 3.15.0 → 3.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/URLRequest.js +0 -97
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/net",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
4
4
  "description": "Next2D Net Package",
5
5
  "author": "Toshiyuki Ienaga<ienaga@next2d.app> (https://github.com/ienaga/)",
6
6
  "license": "MIT",
package/src/URLRequest.js CHANGED
@@ -13,103 +13,6 @@ export class URLRequest {
13
13
  * @public
14
14
  */
15
15
  constructor(url = "") {
16
- /**
17
- * @description HTTP リクエストヘッダーの配列が HTTP リクエストに追加されます。
18
- * The array of HTTP request headers to be appended to the HTTP request.
19
- *
20
- * @type {array}
21
- * @public
22
- */
23
- Object.defineProperty(this, "requestHeaders", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: void 0
28
- });
29
- /**
30
- * @description リクエストされる URL です。
31
- * The URL to be requested.
32
- *
33
- * @type {string}
34
- * @default ""
35
- * @public
36
- */
37
- Object.defineProperty(this, "url", {
38
- enumerable: true,
39
- configurable: true,
40
- writable: true,
41
- value: void 0
42
- });
43
- /**
44
- * @description data プロパティのコンテンツの MIME コンテンツタイプです。
45
- * The MIME content type of the content in the the data property.
46
- *
47
- * @type {string}
48
- * @default application/json
49
- * @public
50
- */
51
- Object.defineProperty(this, "contentType", {
52
- enumerable: true,
53
- configurable: true,
54
- writable: true,
55
- value: void 0
56
- });
57
- /**
58
- * @description URL リクエストで送信されるデータを含むオブジェクトです。
59
- * An object containing data to be transmitted with the URL request.
60
- *
61
- * @type {any}
62
- * @default null
63
- * @public
64
- */
65
- Object.defineProperty(this, "data", {
66
- enumerable: true,
67
- configurable: true,
68
- writable: true,
69
- value: void 0
70
- });
71
- /**
72
- * @description HTTP フォーム送信メソッドを制御します。
73
- * Controls the HTTP form submission method.
74
- *
75
- * @type {string}
76
- * @default "GET"
77
- * @public
78
- */
79
- Object.defineProperty(this, "method", {
80
- enumerable: true,
81
- configurable: true,
82
- writable: true,
83
- value: void 0
84
- });
85
- /**
86
- * @description レスポンスのデータフォーマットを指定します。
87
- * Specifies the data format of the response.
88
- *
89
- * @type {string}
90
- * @default "json"
91
- * @public
92
- */
93
- Object.defineProperty(this, "responseDataFormat", {
94
- enumerable: true,
95
- configurable: true,
96
- writable: true,
97
- value: void 0
98
- });
99
- /**
100
- * @description HTTP 要求で使用されるユーザーエージェントストリングを指定します。
101
- * Specifies the user-agent string to be used in the HTTP request.
102
- *
103
- * @type {boolean}
104
- * @default false
105
- * @public
106
- */
107
- Object.defineProperty(this, "withCredentials", {
108
- enumerable: true,
109
- configurable: true,
110
- writable: true,
111
- value: void 0
112
- });
113
16
  this.url = `${url}`;
114
17
  this.contentType = "application/json";
115
18
  this.data = null;