Skip to main content

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
TypeName
System.Net.HttpWebRequestwebReq
System.StringreqBody

GetBytes(HttpWebRequest, Byte[])

View Source
Declaration
byte[] GetBytes(HttpWebRequest webReq, byte[] reqBody)
Returns

System.Byte[]

Parameters
TypeName
System.Net.HttpWebRequestwebReq
System.Byte[]reqBody

UploadStream(HttpWebRequest, Stream, String)

View Source
Declaration
void UploadStream(HttpWebRequest webRequest, Stream fileStream, string fileName)
Parameters
TypeName
System.Net.HttpWebRequestwebRequest
System.IO.StreamfileStream
System.StringfileName