Nội dung của yêu cầu. Bạn có thể dùng tham số này để sửa đổi nội dung yêu cầu cấp phép.
tiêu đề
Đố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 đề.
shakaRequestInfo
Đối tượng có thể rỗng
Thông tin yêu cầu dành riêng cho Shaka dựa trên:
https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.Request.
timeoutInterval
số có thể rỗng
Thời gian chờ yêu cầu mạng, tính bằng mili giây.
url
chuỗi có thể rỗng
URL được yêu cầu.
withCredentials
boolean
Khi được đặt thành true, điều này cho biết các yêu cầu Access-Control của CORS phải được thực hiện bằng thông tin đăng nhập, chẳng hạn như cookie hoặc tiêu đề uỷ quyền.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-11-04 UTC."],[],["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"]]