internal ClientResponse(ClientRequest request, Response response) { Request = request; this.message = response.ToArray(); this.response = response; }
internal ClientResponse(ClientRequest request, Response response, byte[] message) { Request = request; this.message = message; this.response = response; }
public static ClientResponse FromArray(ClientRequest request, byte[] message) { Response response = Response.FromArray(message); return new ClientResponse(request, response, message); }
public static ClientResponse FromArray(ClientRequest request, byte[] message) { Response response = Response.FromArray(message); return(new ClientResponse(request, response, message)); }