Содержание запроса. Это можно использовать для изменения тела запроса лицензии.
заголовки
Объект
Объект, содержащий свойства, которые вы хотите отправить в заголовке.
таймаутИнтервал
обнуляемое число
Тайм-аут сетевого запроса в миллисекундах.
URL
обнуляемая строка
Запрошенный URL-адрес.
с учетными данными
логическое значение
Если установлено значение true , это означает, что запросы контроля доступа CORS должны выполняться с использованием учетных данных, таких как файлы cookie или заголовки авторизации.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-24 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,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).NetworkRequestInfo \nclass static\n\nHTTP(s) Request information.\n\nConstructor\n\nNetworkRequestInfo\n\nnew\nNetworkRequestInfo()\n\nProperties\n\ncontent\n\nnullable Uint8Array\n\nThe content of the request. This may be used to modify the license\nrequest body.\n\nheaders\n\nObject\n\nAn object containing properties that you would like to send in the\nheader.\n\ntimeoutInterval\n\nnullable number\n\nThe network request timeout, in milliseconds.\n\nurl\n\nnullable string\n\nThe requested URL.\n\nwithCredentials\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."]]