IHttpResultsFilter
Assembly: ServiceStack.Text.dll
View Source
Declaration
public interface IHttpResultsFilter : IDisposable
Methods
GetString(HttpWebRequest, String)
View Source
Declaration
string GetString(HttpWebRequest webReq, string reqBody)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Net.HttpWebRequest | webReq |
System.String | reqBody |
GetBytes(HttpWebRequest, Byte[])
View Source
Declaration
byte[] GetBytes(HttpWebRequest webReq, byte[] reqBody)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.Net.HttpWebRequest | webReq |
System.Byte[] | reqBody |
UploadStream(HttpWebRequest, Stream, String)
View Source
Declaration
void UploadStream(HttpWebRequest webRequest, Stream fileStream, string fileName)
Parameters
Type | Name |
---|---|
System.Net.HttpWebRequest | webRequest |
System.IO.Stream | fileStream |
System.String | fileName |