Xamarin - post request with BsonMediaTypeFormatter
<p>I want to post http request to invoke WebAPI with data as BSON format like this:</p>

<pre><code>using (var client = new HttpClient())
{                
    // Post data as BSON format
    var bsonFormatter = new BsonMediaTypeFormatter();
    var response = await client.PostAsync(url, data, bsonFormatter);
}
</code></pre>

<p>It works fine with .Net framework 4.5.</p>

<p>However it does not work with Xamarin Android platform as it does not support BsonMediaTypeFormatter type.</p>

<p>So the question is how to get it works with Xamarin platform?</p>