All Downloads are FREE. Search and download functionalities are using the official Maven repository.

endpoints4s.http4s.client.Methods.scala Maven / Gradle / Ivy

package endpoints4s.http4s.client

import endpoints4s.algebra
import org.http4s

/** [[algebra.Methods]] interpreter that decodes and encodes methods.
  *
  * @group interpreters
  */
trait Methods extends algebra.Methods {
  type Method = http4s.Method

  def Get: Method = http4s.Method.GET
  def Post: Method = http4s.Method.POST
  def Put: Method = http4s.Method.PUT
  def Delete: Method = http4s.Method.DELETE
  def Patch: Method = http4s.Method.PATCH
  def Options: Method = http4s.Method.OPTIONS
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy