Return simple string from a service call?

Is there a way to return a simple string/value from a service call so rather than sending

{
    "value": "available"
}

it can just reply with

available

Currently you can only do that by returning a raw TStream and putting the available content directly in the stream.

We intend to provide such possibility directly for a method returning string. Changing this to a feature request.

1 Like