requestId (property)
The ID of the current DNS request.
Syntax
@property (nonatomic,readwrite,assign,getter=requestId,setter=setRequestId:) int requestId; - (int)requestId; - (void)setRequestId:(int)newRequestId;
public var requestId: Int32 { get {...}
set {...} }
Default Value
1
Remarks
This property is the identifier of the request that generated the current response values. Each time the class makes a DNS query, it generates a unique request identifier to track the response.
If a custom value is needed for RequestId, the property must be set before sending a request. The class increments RequestId automatically after sending each request.
NOTE: The class fails with an error when a value that is not between 1 and 32,767 is specified.