Player Module
3.22.0
Player Module
/
com.bitmovin.player.api.network
/
HttpRequest
Http
Request
open
class
HttpRequest
Content copied to clipboard
Represents an HTTP request.
Constructors
Functions
Properties
Inheritors
Constructors
Http
Request
Link copied to clipboard
open
fun
HttpRequest
(
url
:
String
)
Content copied to clipboard
Http
Request
Link copied to clipboard
open
fun
HttpRequest
(
url
:
String
,
@
Nullable
headers
:
Map
<
String
,
String
>
,
@
Nullable
body
:
Array
<
Byte
>
,
httpMethod
:
String
)
Content copied to clipboard
Functions
get
Method
Link copied to clipboard
open
fun
getMethod
(
)
:
String
Content copied to clipboard
Returns the HTTP method of the request.
set
Method
Link copied to clipboard
open
fun
setMethod
(
httpMethod
:
String
)
Content copied to clipboard
Set the HTTP method of the request.
Properties
body
Link copied to clipboard
@get:
Nullable
private
open
var
body
:
Array
<
Byte
>
Content copied to clipboard
headers
Link copied to clipboard
@get:
Nullable
private
open
var
headers
:
Map
<
String
,
String
>
Content copied to clipboard
url
Link copied to clipboard
private
open
var
url
:
String
Content copied to clipboard
Inheritors
DrmRequest
Link copied to clipboard