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

sttp.client4.package.scala Maven / Gradle / Ivy

There is a newer version: 4.0.0-M19
Show newest version
package sttp

package object client4 extends SttpApi {

  /** Provide an implicit value of this type to serialize arbitrary classes into a request body. Backends might also
    * provide special logic for serializer instances which they define (e.g. to handle streaming).
    */
  type BodySerializer[B] = B => BasicBodyPart

  type RetryWhen = (GenericRequest[_, _], Either[Throwable, Response[_]]) => Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy