public IList <HarSharp.Entry> makeRequest(HarSharp.Request request, bool followRedirect) { String harRequestStr = ClientApiUtils.convertHarRequestToString(request); byte[] response = clientApi.core.sendHarRequest(this.apiKey, harRequestStr, followRedirect.ToString()); String responseAsString = Encoding.UTF8.GetString(response); return(ClientApiUtils.getHarEntries(response)); }
public IList <HarSharp.Entry> findInResponseHistory(String regex) { return(ClientApiUtils .getHarEntries(clientApi.search.harByResponseRegex(this.apiKey, regex, "", "-1", "-1"))); }
public IList <HarSharp.Entry> getHistory(int start, int count) { return(ClientApiUtils.getHarEntries(clientApi.core .messagesHar(this.apiKey, "", start.ToString(), count.ToString()))); }