ktorfit-lib
/
de.jensklingenberg.ktorfit.http
/
HTTP
HTTP
@
Target
(
allowedTargets = [
AnnotationTarget.FUNCTION
]
)
annotation class
HTTP
(method:
String
, path:
String
, hasBody:
Boolean
)
Content copied to clipboard
Make a request with a custom HTTP method.
Constructors
Properties
Constructors
HTTP
Link copied to clipboard
fun
HTTP
(method:
String
, path:
String
= "", hasBody:
Boolean
= false)
Content copied to clipboard
Properties
hasBody
Link copied to clipboard
val
hasBody
:
Boolean
= false
Content copied to clipboard
method
Link copied to clipboard
val
method
:
String
Content copied to clipboard
path
Link copied to clipboard
val
path
:
String
Content copied to clipboard