statusLine (property)

The first line of the last server response.

Syntax

@property (nonatomic,readonly,assign,getter=statusLine) NSString* statusLine;
- (NSString*)statusLine;
public var statusLine: String {
  get {...}
}

Default Value

""

Remarks

This property contains the first line of the last server response. This value can be used for diagnostic purposes. If an HTTP error is returned when calling a method of the class, the error string is the same as the StatusLine property.

The HTTP protocol specifies the structure of the StatusLine as: [HTTP version] [Result Code] [Description].

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]