/// <summary> /// Executes a simple HTTP GET to the specified url expecting a 200 (OK) in return. Will throw an exception if not 200. /// </summary> /// <param name="url"></param> /// <returns></returns> public static IOfferLocalOperations HttpGet(this IOfferLocalOperations local, string url) { var operation = new HttpGetOperation(url); Configure.Operation(local, operation); return local; }
public IOfferLocalOperations HttpGet(string url) { var operation = new HttpGetOperation(url); AddOperation(operation); return this; }