From b07bee41cf0a80168f8df740e64c79ca0c0f8de9 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Thu, 12 Sep 2024 17:37:30 +0100 Subject: [PATCH] Make ServerSentEvent.makeBuffer public --- Sources/SSEKit/ServerSentEvent.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SSEKit/ServerSentEvent.swift b/Sources/SSEKit/ServerSentEvent.swift index bc40a30..006527a 100644 --- a/Sources/SSEKit/ServerSentEvent.swift +++ b/Sources/SSEKit/ServerSentEvent.swift @@ -19,7 +19,7 @@ public struct ServerSentEvent: Equatable, Sendable { self.id = id } - internal func makeBuffer(allocator: ByteBufferAllocator) -> ByteBuffer { + public func makeBuffer(allocator: ByteBufferAllocator) -> ByteBuffer { var string = "" if let type = type {