// Copyright © WireMock.Net using WireMock.Matchers; namespace WireMock.RequestBuilders; /// /// The MethodRequestBuilder interface. /// public interface IMethodRequestBuilder : IHeadersRequestBuilder { /// /// UsingConnect: add HTTP Method matching on `CONNECT` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingConnect(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingDelete: add HTTP Method matching on `DELETE` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingDelete(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingGet: add HTTP Method matching on `GET` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingGet(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingHead: Add HTTP Method matching on `HEAD` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingHead(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingPost: add HTTP Method matching on `POST` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingPost(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingPatch: add HTTP Method matching on `PATCH` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingPatch(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingPut: add HTTP Method matching on `OPTIONS` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingOptions(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingPut: add HTTP Method matching on `PUT` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingPut(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingTrace: add HTTP Method matching on `TRACE` and matchBehaviour (optional). /// /// The match behaviour. /// The . IRequestBuilder UsingTrace(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch); /// /// UsingAnyMethod: add HTTP Method matching on any method. /// /// The . IRequestBuilder UsingAnyMethod(); /// /// UsingMethod: add HTTP Method matching on any methods and matchBehaviour. /// /// The match behaviour. /// The to use. /// The method or methods. /// The . IRequestBuilder UsingMethod(MatchBehaviour matchBehaviour, MatchOperator matchOperator, params string[] methods); /// /// UsingMethod: add HTTP Method matching on any methods. /// /// The method or methods. /// The . IRequestBuilder UsingMethod(params string[] methods); }