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

scala.googleapis.storage.ChannelsClient.scala Maven / Gradle / Ivy

The newest version!
package googleapis.storage

import cats.effect.Concurrent
import org.http4s._
import org.http4s.implicits._
import org.http4s.client.Client

class ChannelsClient[F[_]: Concurrent](client: Client[F]) extends AbstractClient[F](client) {
  val baseUri = uri"https://storage.googleapis.com/storage/v1"
  def stop(
  )(input: Channel): F[Status] =
    client.status(requestWithBody(method = Method.POST, uri = baseUri / "channels" / "stop")(input))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy