retrofit / retrofit2.http / OPTIONS

OPTIONS

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class OPTIONS

Make an OPTIONS request.

Constructors

<init>

OPTIONS(value: String)

Make an OPTIONS request.

Properties

value

val value: String

A relative or absolute path, or full URL of the endpoint. This value is optional if the first parameter of the method is annotated with @Url.