Julius Babies
12/03/2025, 4:29 PMUpgrade: tcp header when starting an exec-Instance without detaching and I want to be. able to write into that stream as stdin. Is it possible to get the ByteWriteChannel of the connection in the .execute { ... }-Block?
If not, I could imagine this channel being exposed as a function that requires you to OptIn.
client.socket.preparePost("/exec/$execId/start") {
contentType(ContentType.Application.Json)
setBody(StartExecInstanceResponse(detach = false))
}.execute { response ->
response.rawInput // would return the ByteWriteChannel for this request
}Aleksei Tirman [JB]
12/04/2025, 8:12 AMJulius Babies
12/04/2025, 10:19 AMAleksei Tirman [JB]
12/04/2025, 11:50 AM