diff --git a/websock/types.nim b/websock/types.nim index 13def989..a7f8dbff 100644 --- a/websock/types.nim +++ b/websock/types.nim @@ -210,5 +210,5 @@ method decode*(self: Ext, frame: Frame): Future[Frame] {.base, async.} = method encode*(self: Ext, frame: Frame): Future[Frame] {.base, async.} = raiseAssert "Not implemented!" -method toHttpOptions*(self: Ext): string {.base.} = +method toHttpOptions*(self: Ext): string {.base, gcsafe.} = raiseAssert "Not implemented!"