From 309e5f914e7f9f70ecce6e53e1ecec8f7eccf871 Mon Sep 17 00:00:00 2001 From: Jiyoon Koo Date: Wed, 3 Apr 2024 13:25:02 -0400 Subject: [PATCH] making callbacks object exposed to the caller (#231) --- .../src/main/kotlin/tbdex/sdk/httpserver/TbdexHttpServer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpserver/src/main/kotlin/tbdex/sdk/httpserver/TbdexHttpServer.kt b/httpserver/src/main/kotlin/tbdex/sdk/httpserver/TbdexHttpServer.kt index e507f9a2..6d26463a 100644 --- a/httpserver/src/main/kotlin/tbdex/sdk/httpserver/TbdexHttpServer.kt +++ b/httpserver/src/main/kotlin/tbdex/sdk/httpserver/TbdexHttpServer.kt @@ -61,7 +61,7 @@ class TbdexHttpServerConfig( * @property config The configuration for the server, including port and optional APIs. */ class TbdexHttpServer(private val config: TbdexHttpServerConfig) { - private val callbacks = Callbacks() + internal val callbacks = Callbacks() private var embedded = embeddedServer(Netty, port = config.port) { configure(this) }