I contenuti della richiesta. Può essere utilizzato per modificare il corpo della richiesta della licenza.
headers
Oggetto
Un oggetto contenente le proprietà che vuoi inviare nell'intestazione.
timeoutInterval
numero null
Il timeout della richiesta di rete in millisecondi.
url
stringa con valore null
L'URL richiesto.
withCredentials
boolean
Se il criterio è impostato su true, indica che le richieste di controllo dell'accesso CORS devono essere effettuate utilizzando credenziali come cookie o intestazioni di autorizzazione.
[null,null,["Ultimo aggiornamento 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."]]