Shaka Player Embedded
|
#import <net_objc.h>
Instance Methods | |
(instancetype) | - NS_UNAVAILABLE |
(instancetype) | - initWithResponse: |
(void) | - finalize: |
Properties | |
NSString * | uri |
NSString * | originalUri |
NSMutableDictionary< NSString *, NSString * > * | headers |
bool | fromCache |
NSNumber * | timeMs |
NSData * | data |
Defines a response object. This includes the response data and header info. This is given back from the scheme plugin. This is passed to a response filter before being returned from the request call.
Definition at line 73 of file net_objc.h.
- (void) finalize: | (shaka::Response *) | response |
Provided by category ShakaPlayerResponse(Internal).
- (instancetype) initWithResponse: | (const shaka::Response &) | response |
Provided by category ShakaPlayerResponse(Internal).
- (instancetype) NS_UNAVAILABLE |
|
readwriteatomicassign |
The data of the response.
Definition at line 109 of file net_objc.h.
|
readwriteatomicassign |
If true, this response was from a cache and should be ignored for bandwidth estimation.
Definition at line 100 of file net_objc.h.
|
readwriteatomicassign |
A map of response headers, if supported by the underlying protocol. All keys should be lowercased. For HTTP/HTTPS, may not be available cross-origin.
Definition at line 94 of file net_objc.h.
|
readwriteatomicassign |
The original URI passed to the browser for networking. This is before any redirects, but after request filters are executed.
Definition at line 87 of file net_objc.h.
|
readwriteatomicassign |
Optional. The time it took to get the response, in milliseconds. If not given, NetworkingEngine will calculate it using the current time.
Definition at line 106 of file net_objc.h.
|
readwriteatomicassign |
The URI which was loaded. Request filters and server redirects can cause this to be different from the original request URIs.
Definition at line 81 of file net_objc.h.