toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.net.http
/
FakeHttpClient
/
Rule
Rule
data
class
Rule
(
val
method
:
Http.Method
?
,
val
url
:
String
?
=
null
,
val
headers
:
Http.Headers
?
=
null
)
Members
Constructors
Rule
Link copied to clipboard
constructor
(
method
:
Http.Method
?
,
url
:
String
?
=
null
,
headers
:
Http.Headers
?
=
null
)
Properties
headers
Link copied to clipboard
val
headers
:
Http.Headers
?
=
null
method
Link copied to clipboard
val
method
:
Http.Method
?
url
Link copied to clipboard
val
url
:
String
?
=
null
Functions
matches
Link copied to clipboard
fun
matches
(
method
:
Http.Method
,
url
:
String
,
headers
:
Http.Headers
,
content
:
ByteArray
?
)
:
Boolean