Skip to content

Commit

Permalink
Rename toNetSocket to toTcpServer
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Jul 14, 2023
1 parent 21122a4 commit 6ca365a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Node/TLS/Server.purs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Node.TLS.Server
( toNetServer
( toTcpServer
, createServer
, createServer'
, keylogHandle
Expand Down Expand Up @@ -30,8 +30,8 @@ import Node.TLS.Types (CreateSecureContextOptions, Server, TlsCreateServerOption
import Prim.Row as Row
import Unsafe.Coerce (unsafeCoerce)

toNetServer :: TlsServer -> NetTypes.Server NetTypes.TCP
toNetServer = unsafeCoerce
toTcpServer :: TlsServer -> NetTypes.Server NetTypes.TCP
toTcpServer = unsafeCoerce

foreign import createServer :: Effect (TlsServer)

Expand Down

0 comments on commit 6ca365a

Please sign in to comment.