Skip to content

Commit 5397199

Browse files
committed
Exporting HTTP module and public HTTP write.
1 parent 674f665 commit 5397199

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/Edge/Edge.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
@_exported import IOStream
1111
@_exported import TCP
1212
@_exported import RunLoop
13+
@_exported import HTTP

Sources/HTTP/ClientConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public final class ClientConnection {
4242
}
4343
}
4444

45-
func write(_ response: Response) {
45+
public func write(_ response: Response) {
4646
socket.write(buffer: response.serialized).start()
4747
}
4848

0 commit comments

Comments
 (0)