public static IClientRequest Handle(this IClientRequest request, int statusCode, Action <IClientResponse> response) { return(request.Handle(_ => _.Status.Code == statusCode, response)); }
public static IClientRequest Handle(this IClientRequest request, Action <IClientResponse> response) { return(request.Handle(_ => true, response)); }