Segment

endpoints4s.sttp.client.Urls.Segment
trait Segment[A]

An URL path segment codec for type A.

The trait Urls provides implicit instances of Segment[A] for basic types (e.g., Int, String, etc.). You can create additional instances by transforming or refining the existing instances with xmap and xmapPartial.

Attributes

Note

This type has implicit methods provided by the PartialInvariantFunctorSyntax and the InvariantFunctorSyntax classes.

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def encode(a: A): String