Пример #1
0
        internal ClientResponse(ClientRequest request, Response response)
        {
            Request = request;

            this.message = response.ToArray();
            this.response = response;
        }
Пример #2
0
        internal ClientResponse(ClientRequest request, Response response, byte[] message)
        {
            Request = request;

            this.message = message;
            this.response = response;
        }
Пример #3
0
 public static ClientResponse FromArray(ClientRequest request, byte[] message)
 {
     Response response = Response.FromArray(message);
     return new ClientResponse(request, response, message);
 }
Пример #4
0
        public static ClientResponse FromArray(ClientRequest request, byte[] message)
        {
            Response response = Response.FromArray(message);

            return(new ClientResponse(request, response, message));
        }