lightning-kmp
/
fr.acinq.lightning.io
/
TcpSocket
common
native
jvm
Tcp
Socket
interface
TcpSocket
Content copied to clipboard
Types
Functions
Extensions
Inheritors
Types
Builder
Link copied to clipboard
common
interface
Builder
Content copied to clipboard
IOException
Link copied to clipboard
common
sealed class
IOException
:
Exception
Content copied to clipboard
TLS
Link copied to clipboard
common
sealed class
TLS
Content copied to clipboard
Functions
close
Link copied to clipboard
common
abstract fun
close
()
Content copied to clipboard
receive
Available
Link copied to clipboard
common
abstract suspend fun
receiveAvailable
(buffer:
ByteArray
):
Int
Content copied to clipboard
receive
Fully
Link copied to clipboard
common
abstract suspend fun
receiveFully
(buffer:
ByteArray
)
Content copied to clipboard
send
Link copied to clipboard
common
abstract suspend fun
send
(bytes:
ByteArray
?, flush:
Boolean
= true)
Content copied to clipboard
Inheritors
IosTcpSocket
Link copied to clipboard
JvmTcpSocket
Link copied to clipboard
Extensions
lines
Flow
Link copied to clipboard
common
fun
TcpSocket
.
linesFlow
():
Flow
<
String
>
Content copied to clipboard
receive
Fully
Link copied to clipboard
common
suspend fun
TcpSocket
.
receiveFully
(size:
Int
):
ByteArray
Content copied to clipboard