setResponseHeader (method)
Sets a response header.
Syntax
- (BOOL)setResponseHeader:(long long)connectionId :(NSString*)headerName :(NSString*)value;
public func setResponseHeader(_ connectionId: Int64, _ headerName: String, _ value: String) throws -> Bool
Remarks
Use this method to set a response header. A good place to call this method is a request-marking event, such as GetRequest or PostRequest.