Documentation
Table of Contents

Method WriteRequest

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

WriteRequest(SpecialistRequest)

Writes the request's definition as JSON intent-file text, with the request hash in extensions.specialist.requestHash, so a service that sends the definition back with that extension kept lets the definition comparison check that the offer answers this request. The context and the requirements are not part of the text; send them beside it in the form the service understands.

public static string WriteRequest(SpecialistRequest request)

Parameters

request SpecialistRequest

The request.

Returns

string

The JSON text of one definition object.

Exceptions

ArgumentNullException

request is null.