onResponse (event)

Fired when a response packet is received.

Syntax

- (void)onResponse:(int)requestId :(NSString*)responseSource :(NSString*)responseStatus :(int)responseTime;
func onResponse(_ requestId: Int32, _ responseSource: String, _ responseStatus: String, _ responseTime: Int32)

Remarks

The RequestId parameter is used together with the RequestId property to match requests with responses.

ResponseStatus is set to "OK" for normal operation, or it contains an error string such as "Network unreachable", "Host unreachable", etc.

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