C# Class Neo4jClient.Test.MockRequest

显示文件 Open project: albumprinter/Neo4jClient Class Usage Examples

Public Methods

Method Description
Delete ( string uri ) : MockRequest
Get ( string uri ) : MockRequest
PostJson ( string uri, string json ) : MockRequest
PostObjectAsJson ( string uri, object body ) : MockRequest
PutObjectAsJson ( string uri, object body ) : MockRequest

Private Methods

Method Description
MockRequest ( ) : System.Net.Http

Method Details

Delete() public static method

public static Delete ( string uri ) : MockRequest
uri string
return MockRequest

Get() public static method

public static Get ( string uri ) : MockRequest
uri string
return MockRequest

PostJson() public static method

public static PostJson ( string uri, string json ) : MockRequest
uri string
json string
return MockRequest

PostObjectAsJson() public static method

public static PostObjectAsJson ( string uri, object body ) : MockRequest
uri string
body object
return MockRequest

PutObjectAsJson() public static method

public static PutObjectAsJson ( string uri, object body ) : MockRequest
uri string
body object
return MockRequest