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
object CONNECT
class CUSTOM
object DELETE
object GET
object HEAD
object OPTIONS
object PATCH
object POST
object PUT
object TRACE
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