Nội dung của yêu cầu. Bạn có thể dùng thông tin này để sửa đổi nội dung của yêu cầu cấp phép.
headers
Đối tượng
Một đối tượng chứa các thuộc tính mà bạn muốn gửi trong tiêu đề.
timeoutInterval
số rỗng
Thời gian chờ yêu cầu mạng, tính bằng mili giây.
url
chuỗi có tính chất rỗng
URL được yêu cầu.
withCredentials
boolean
Khi bạn đặt thành true, thuộc tính này cho biết rằng bạn phải thực hiện các yêu cầu Kiểm soát quyền truy cập của CORS bằng thông tin xác thực như cookie hoặc tiêu đề uỷ quyền.
[null,null,["Cập nhật lần gần đây nhất: 2023-12-01 UTC."],[[["`NetworkRequestInfo` provides details about HTTP(s) requests, including URL, headers, content, and timeout settings."],["It enables modification of license request bodies and controls the use of credentials like cookies for CORS requests."]]],["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"]]