public Header GetFirstHeader(string name) { GoString res = new GoString(); if (RequestNativeWrapper.RequestGetFirstHeader(requestHandle, GoString.FromString(name), out res)) { return(new Header(name, res.AsString)); } else { return(null); } }
public void SetHeader(string name, string value) { RequestNativeWrapper.RequestSetHeader(requestHandle, name, value); marshalledHeaders = null; }
public void SetHeader(Header header) { RequestNativeWrapper.RequestSetHeader(requestHandle, header.Name, header.Value); marshalledHeaders = null; }
public bool HeaderExists(string name) { return(RequestNativeWrapper.RequestHeaderExists(requestHandle, GoString.FromString(name))); }