// Copyright © WireMock.Net using System.Net; using WireMock.Settings; namespace WireMock.ResponseBuilders; /// /// The StatusCodeResponseBuilder interface. /// public interface IStatusCodeResponseBuilder : IHeadersResponseBuilder { /// /// The with status code. /// By default all status codes are allowed, to change this behaviour, see . /// /// The code. /// The . IResponseBuilder WithStatusCode(int code); /// /// The with status code. /// By default all status codes are allowed, to change this behaviour, see . /// /// The code. /// The . IResponseBuilder WithStatusCode(string code); /// /// The with status code. /// By default all status codes are allowed, to change this behaviour, see . /// /// The code. /// The . IResponseBuilder WithStatusCode(HttpStatusCode code); /// /// The with Success status code (200). /// /// The . IResponseBuilder WithSuccess(); /// /// The with NotFound status code (404). /// /// The . IResponseBuilder WithNotFound(); }