Exemplo n.º 1
0
        internal ClientResponse(ClientRequest request, Response response)
        {
            Request = request;

            this.message = response.ToArray();
            this.response = response;
        }
Exemplo n.º 2
0
        internal ClientResponse(ClientRequest request, Response response, byte[] message)
        {
            Request = request;

            this.message = message;
            this.response = response;
        }
Exemplo n.º 3
0
 public static ClientResponse FromArray(ClientRequest request, byte[] message)
 {
     Response response = Response.FromArray(message);
     return new ClientResponse(request, response, message);
 }
Exemplo n.º 4
0
        public static ClientResponse FromArray(ClientRequest request, byte[] message)
        {
            Response response = Response.FromArray(message);

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