stringToMediaType

given stringToMediaType: Conversion[String, MediaType]

Converts string to MediaType.

Value members

Concrete methods

def apply(mediaType: String): MediaType

Inherited methods

@unspecialized
def andThen[A](g: MediaType => A): String => A
Inherited from
Function1
@unspecialized
def compose[A](g: A => String): A => MediaType
Inherited from
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from
Function1

Extensions

Inherited extensions

extension (x: T)

x.convert converts a value x of type T to type U

x.convert converts a value x of type T to type U

Inherited from
Conversion