Skip to content

Commit

Permalink
Restore request method on client as public (#1247)
Browse files Browse the repository at this point in the history
  • Loading branch information
qboileau committed May 11, 2022
1 parent f5f2883 commit cb8d930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zhttp/service/Client.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import java.net.{InetSocketAddress, URI}
final case class Client[R](rtm: HttpRuntime[R], cf: JChannelFactory[Channel], el: JEventLoopGroup)
extends HttpMessageCodec {

private[zhttp] def request(request: Request, clientConfig: Config): Task[Response] =
def request(request: Request, clientConfig: Config): Task[Response] =
for {
promise <- Promise.make[Throwable, Response]
jReq <- encode(request)
Expand Down

0 comments on commit cb8d930

Please sign in to comment.