提交 8eb51231 编写于 作者: C Christian Noon

Updated the Timeline initializer to a public ACL.

上级 e3ab8fcc
......@@ -48,7 +48,17 @@ public struct Timeline {
/// The time interval in seconds from the time the request started to the time response serialization completed.
public let totalDuration: NSTimeInterval
init(
/**
Creates a new `Timeline` instance with the specified request times.
- parameter requestStartTime: The time the request was initialized.
- parameter initialResponseTime: The time the first bytes were received from or sent to the server.
- parameter requestCompletedTime: The time when the request was completed.
- parameter serializationCompletedTime: The time when the response serialization was completed.
- returns: The new `Timeline` instance.
*/
public init(
requestStartTime: CFAbsoluteTime,
initialResponseTime: CFAbsoluteTime,
requestCompletedTime: CFAbsoluteTime,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册