İsteğin içeriği. Bu bilgi, lisans isteği gövdesini değiştirmek için kullanılabilir.
headers
Nesne
Üst bilgide göndermek istediğiniz özellikleri içeren bir nesne.
timeoutInterval
null özellikli sayı
Ağ isteği zaman aşımı (milisaniye cinsinden).
url
boş değer atanabilir dize
İstenen URL.
withCredentials
boolean
true olarak ayarlandığında, CORS Access-Control isteklerinin çerezler veya yetkilendirme üstbilgileri gibi kimlik bilgileri kullanılarak yapılması gerektiğini belirtir.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eNetworkRequestInfo\u003c/code\u003e provides details about HTTP(s) requests, including URL, headers, content, and timeout settings.\u003c/p\u003e\n"],["\u003cp\u003eIt enables modification of license request bodies and controls the use of credentials like cookies for CORS requests.\u003c/p\u003e\n"]]],["The `NetworkRequestInfo` class provides details about an HTTP(s) request. Key properties include `content` (request body, modifiable as a Uint8Array), `headers` (custom header object), `timeoutInterval` (request timeout in milliseconds), and `url` (the requested URL). Additionally, `withCredentials` determines if credentials like cookies or authorization headers should be used in CORS requests, with a boolean value. This helps to manage network information of a cast framework request.\n"],null,["# Class: NetworkRequestInfo\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).NetworkRequestInfo\n=====================================================================================\n\nclass static\n\nHTTP(s) Request information.\n\nConstructor\n-----------\n\n### NetworkRequestInfo\n\nnew\nNetworkRequestInfo()\n\nProperties\n----------\n\n### content\n\nnullable Uint8Array\n\nThe content of the request. This may be used to modify the license\nrequest body.\n\n### headers\n\nObject\n\nAn object containing properties that you would like to send in the\nheader.\n\n### timeoutInterval\n\nnullable number\n\nThe network request timeout, in milliseconds.\n\n### url\n\nnullable string\n\nThe requested URL.\n\n### withCredentials\n\nboolean\n\nWhen set to `true`, this indicates that CORS Access-Control\nrequests should be made using credentials such as cookies or\nauthorization headers."]]