-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use flow instead fo source in OxPipe
- Loading branch information
Showing
8 changed files
with
74 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/NettyOxStreams.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
package sttp.tapir.server.netty.sync | ||
|
||
import ox.Ox | ||
import ox.channels.Source | ||
import ox.flow.Flow | ||
import sttp.capabilities.Streams | ||
|
||
trait OxStreams extends Streams[OxStreams]: | ||
override type BinaryStream = Nothing | ||
override type Pipe[A, B] = Ox ?=> Source[A] => Source[B] | ||
override type Pipe[A, B] = Flow[A] => Flow[B] | ||
|
||
object OxStreams extends OxStreams |
1 change: 0 additions & 1 deletion
1
...r/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/NettySyncToResponseBody.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters