Skip to content

Commit cda39bc

Browse files
authored
Merge pull request #1 from adam-fowler/public-makebuffer
Make ServerSentEvent.makeBuffer public
2 parents 5fa3e87 + b07bee4 commit cda39bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SSEKit/ServerSentEvent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public struct ServerSentEvent: Equatable, Sendable {
1919
self.id = id
2020
}
2121

22-
internal func makeBuffer(allocator: ByteBufferAllocator) -> ByteBuffer {
22+
public func makeBuffer(allocator: ByteBufferAllocator) -> ByteBuffer {
2323
var string = ""
2424

2525
if let type = type {

0 commit comments

Comments
 (0)