/// <summary>
        /// Initiates the operation to gets a handle to the request content.
        /// </summary>
        /// <param name="callback">The async callback invoked when the operation completes.</param>
        /// <param name="state">The state object to be passed to the async callback.</param>
        /// <returns>IAsyncResult that represents an async operation.</returns>
        public IAsyncResult BeginGetRequestContent(AsyncCallback callback, object state)
        {
            // The WWW API only allows representing the request body as a string,
            // it does not have a method which returns the request stream.
            // Invoke the callback synchronously to indicate that this method has completed execution.
            var result = new SimpleAsyncResult(state);

            //Invoke the callback synchronously
            callback(result);
            return(result);
        }