O conteúdo da solicitação. Isso pode ser usado para modificar o corpo da solicitação de licença.
headers
Objeto
Um objeto que contém as propriedades que você gostaria de enviar no cabeçalho.
timeoutInterval
número anulável
Tempo limite da solicitação de rede, em milissegundos.
url
string anulável
O URL solicitado.
withCredentials
boolean
Quando definido como true, indica que as solicitações de controle de acesso do CORS precisam ser feitas usando credenciais, como cookies ou cabeçalhos de autorização.
[null,null,["Última atualização 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."]]