RequestValidatorProtocol
public protocol RequestValidatorProtocol : AnyObject
请求验证器协议
-
验证响应结果,返回是否验证通过
Declaration
Swift
func validateResponse(for request: HTTPRequest) -> Bool
public protocol RequestValidatorProtocol : AnyObject
请求验证器协议
验证响应结果,返回是否验证通过
Swift
func validateResponse(for request: HTTPRequest) -> Bool