C# Class BloomTests.ApiTest

Show file Open project: BloomBooks/BloomDesktop

Public Methods

Method Description
GetString ( EnhancedImageServer server, string endPoint, string query = "", ContentType returnType = ContentType.Text, EndpointHandler handler = null, string endOfUrlForTest = null ) : string
PostString ( EnhancedImageServer server, string endPoint, string data, ContentType returnType, EndpointHandler handler = null ) : string

Method Details

GetString() public static method

public static GetString ( EnhancedImageServer server, string endPoint, string query = "", ContentType returnType = ContentType.Text, EndpointHandler handler = null, string endOfUrlForTest = null ) : string
server Bloom.Api.EnhancedImageServer
endPoint string
query string
returnType ContentType
handler EndpointHandler
endOfUrlForTest string
return string

PostString() public static method

public static PostString ( EnhancedImageServer server, string endPoint, string data, ContentType returnType, EndpointHandler handler = null ) : string
server Bloom.Api.EnhancedImageServer
endPoint string
data string
returnType ContentType
handler EndpointHandler
return string