File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
vertx/src/main/scala/sttp/capabilities/vertx Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -244,3 +244,15 @@ lazy val zio = (projectMatrix in file("zio"))
244
244
settings = commonNativeSettings
245
245
)
246
246
.dependsOn(core)
247
+
248
+ lazy val vertx = (projectMatrix in file(" vertx" ))
249
+ .settings(
250
+ name := " vertx"
251
+ )
252
+ .jvmPlatform(
253
+ scalaVersions = List (scala2_12, scala2_13) ++ scala3,
254
+ settings = commonJvmSettings ++ Seq (
255
+ libraryDependencies += " io.vertx" % " vertx-core" % " 4.4.0"
256
+ )
257
+ )
258
+ .dependsOn(core)
Original file line number Diff line number Diff line change
1
+ package sttp .capabilities .vertx
2
+
3
+ import io .vertx .core .buffer .Buffer
4
+ import io .vertx .core .streams .ReadStream
5
+ import sttp .capabilities .Streams
6
+
7
+ trait VertxStreams extends Streams [VertxStreams ] {
8
+ override type BinaryStream = ReadStream [Buffer ]
9
+ override type Pipe [A , B ] = ReadStream [A ] => ReadStream [B ]
10
+ }
11
+
12
+ object VertxStreams extends VertxStreams
You can’t perform that action at this time.
0 commit comments