Skip to content

Commit

Permalink
Merge pull request #1 from adam-fowler/public-makebuffer
Browse files Browse the repository at this point in the history
Make ServerSentEvent.makeBuffer public
  • Loading branch information
Joannis authored Sep 14, 2024
2 parents 5fa3e87 + b07bee4 commit cda39bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SSEKit/ServerSentEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cda39bc

Please sign in to comment.