SIPSorcery.Web.Services.MakeConnection.CreateEmptyResponse C# (CSharp) Method

CreateEmptyResponse() public method

public CreateEmptyResponse ( ) : Message
return Message
        public Message CreateEmptyResponse()
        {
            Message response = Message.CreateMessage(MessageVersion.Default, null, (object)null);

            HttpResponseMessageProperty http = new HttpResponseMessageProperty();
            http.StatusCode = System.Net.HttpStatusCode.OK;
            http.SuppressEntityBody = true;
            response.Properties.Add(HttpResponseMessageProperty.Name, http);

            return response;
        }