Method

zio.http.Method
See theMethod companion object
sealed trait Method

Represents an HTTP method, such as GET, PUT, POST, or DELETE.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ANY.type
object CONNECT.type
class CUSTOM
object DELETE.type
object GET.type
object HEAD.type
object OPTIONS.type
object PATCH.type
object POST.type
object PUT.type
object TRACE.type
Show all
Self type

Members list

Value members

Concrete methods

def ++(that: Method): Method

A right-biased way of combining two methods. If either method is default, the other will be returned. Otherwise, the right method will be returned.

A right-biased way of combining two methods. If either method is default, the other will be returned. Otherwise, the right method will be returned.

Attributes

def /[A](that: PathCodec[A]): RoutePattern[A]
def matches(that: Method): Boolean
def render: String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Abstract fields

val name: String

The name of the method, as it appears in the HTTP request.

The name of the method, as it appears in the HTTP request.

Attributes