We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21dbd0e commit f4a811cCopy full SHA for f4a811c
src/commonMain/kotlin/me/devnatan/yoki/io/Http.kt
@@ -77,7 +77,7 @@ private fun createUrlBuilder(socketPath: String): URLBuilder = if (isUnixSocket(
77
URLBuilder(
78
protocol = URLProtocol.HTTP,
79
port = DOCKER_SOCKET_PORT,
80
- host = socketPath.substringAfter(UNIX_SOCKET_PREFIX).toInt().toHexString() + ENCODED_HOSTNAME_SUFFIX,
+ host = socketPath.substringAfter(UNIX_SOCKET_PREFIX).encodeToByteArray().toHexString() + ENCODED_HOSTNAME_SUFFIX,
81
)
82
} else {
83
val url = Url(socketPath)
0 commit comments