toggle menu
player-android
3.80.0
androidJvm
switch theme
search in API
player-core
/
com.bitmovin.player.api.network
/
HttpRequest
Http
Request
open
class
HttpRequest
Represents an HTTP request.
Inheritors
DrmRequest
Members
Constructors
Http
Request
Link copied to clipboard
constructor
(
url
:
String
)
constructor
(
url
:
String
,
@
Nullable
headers
:
Map
<
String
,
String
>
,
@
Nullable
body
:
Array
<
Byte
>
,
httpMethod
:
String
)
Properties
body
Link copied to clipboard
@get:
Nullable
open
var
body
:
Array
<
Byte
>
headers
Link copied to clipboard
@get:
Nullable
open
var
headers
:
Map
<
String
,
String
>
url
Link copied to clipboard
open
var
url
:
String
Functions
get
Method
Link copied to clipboard
open
fun
getMethod
(
)
:
String
Returns the HTTP method of the request.
set
Method
Link copied to clipboard
open
fun
setMethod
(
httpMethod
:
String
)
Set the HTTP method of the request.