korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-io
/
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
?
method
Link copied to clipboard
val
method
:
Http.Method
?
url
Link copied to clipboard
val
url
:
String
?
Functions
matches
Link copied to clipboard
fun
matches
(
method
:
Http.Method
,
url
:
String
,
headers
:
Http.Headers
,
content
:
ByteArray
?
)
:
Boolean