Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package http4s
    Definition Classes
    org
  • package client

    Provides extension methods for using the a http4s org.http4s.client.Client

    Provides extension methods for using the a http4s org.http4s.client.Client

    import scalaz.concurrent.Task
    import org.http4s._
    import org.http4s.client._
    import org.http4s.Http4s._
    import org.http4s.Status._
    import org.http4s.Method._
    import org.http4s.EntityDecoder
    
    def client: Client = ???
    
    val r: Task[String] = client(GET(uri("https://www.foo.bar/"))).as[String]
    val r2: DecodeResult[String] = client(GET(uri("https://www.foo.bar/"))).attemptAs[String] // implicitly resolve the decoder
    val req1 = r.run
    val req2 = r.run // Each invocation fetches a new Result based on the behavior of the Client
    Definition Classes
    http4s
  • package asynchttpclient
    Definition Classes
    client
  • package blaze
    Definition Classes
    client
  • package impl
    Definition Classes
    client
  • package middleware
    Definition Classes
    client
  • package oauth1

    Basic OAuth1 message signing support

    Basic OAuth1 message signing support

    This feature is not considered stable.

    Definition Classes
    client
  • Consumer
  • Token

package oauth1

Basic OAuth1 message signing support

This feature is not considered stable.

Source
oauth1.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. oauth1
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Consumer(key: String, secret: String) extends Product with Serializable

    Representation of a Consumer key and secret

  2. final case class Token(value: String, secret: String) extends Product with Serializable

    Representation of an OAuth Token and Token secret

Value Members

  1. def signRequest(req: Request, consumer: Consumer, callback: Option[Uri], verifier: Option[String], token: Option[Token]): Task[Request]

    Sign the request with an OAuth Authorization header

    Sign the request with an OAuth Authorization header

    WARNING: POST requests with application/x-www-form-urlencoded bodies will be entirely buffered due to signing requirements.

Inherited from AnyRef

Inherited from Any

Ungrouped