Continous REST call from Vala?

I’m trying to implement streaming calls on a Mastodon API in Vala. Everything else can use librest. For the streaming, it looks like I need to use the continuous() function. But the docs say “This method is not directly available to language bindings.”

  1. Does that mean that there’s an indirect way of calling it? Some special parameters to one of the other calls that I’ve not seen documented?
  2. If not, how can I make a streaming API call against a REST API with OAuth2 authentication from Vala?

Thanks.

As you can see here: Rest.ProxyCall.continuous – rest-1.0, there is no problem with using this method in Vala. Sometimes API is marked as not available to language bindings, but often it doesn’t apply to Vala. I can recommend looking at valadoc.org. It shows always the latest API you can use from Vala.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.