提交 be401f81 编写于 作者: M Mattt Thompson

Updating docs to reference output stream, rather than specific OutputStreamType

上级 a1f12d0e
......@@ -1312,7 +1312,7 @@ extension Request {
// MARK: - Printable
extension Request: Printable {
/// The textual representation used when written to an `OutputStreamType`, which includes the HTTP method and URL, as well as the response status code if a response has been received.
/// The textual representation used when written to an output stream, which includes the HTTP method and URL, as well as the response status code if a response has been received.
public var description: String {
var components: [String] = []
if request.HTTPMethod != nil {
......@@ -1397,7 +1397,7 @@ extension Request: DebugPrintable {
return join(" \\\n\t", components)
}
/// The textual representation used when written to an `OutputStreamType`, in the form of a cURL command.
/// The textual representation used when written to an output stream, in the form of a cURL command.
public var debugDescription: String {
return cURLRepresentation()
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册