Trait windows::Web::Http::IHttpContent_Impl
pub trait IHttpContent_Impl: Sized + IClosable_Impl {
// Required methods
fn Headers(&self) -> Result<HttpContentHeaderCollection>;
fn BufferAllAsync(&self) -> Result<IAsyncOperationWithProgress<u64, u64>>;
fn ReadAsBufferAsync(
&self
) -> Result<IAsyncOperationWithProgress<IBuffer, u64>>;
fn ReadAsInputStreamAsync(
&self
) -> Result<IAsyncOperationWithProgress<IInputStream, u64>>;
fn ReadAsStringAsync(
&self
) -> Result<IAsyncOperationWithProgress<HSTRING, u64>>;
fn TryComputeLength(&self, length: &mut u64) -> Result<bool>;
fn WriteToStreamAsync(
&self,
outputstream: Option<&IOutputStream>
) -> Result<IAsyncOperationWithProgress<u64, u64>>;
}
Required Methods§
fn Headers(&self) -> Result<HttpContentHeaderCollection>
fn BufferAllAsync(&self) -> Result<IAsyncOperationWithProgress<u64, u64>>
fn ReadAsBufferAsync(&self) -> Result<IAsyncOperationWithProgress<IBuffer, u64>>
fn ReadAsInputStreamAsync( &self ) -> Result<IAsyncOperationWithProgress<IInputStream, u64>>
fn ReadAsStringAsync(&self) -> Result<IAsyncOperationWithProgress<HSTRING, u64>>
fn TryComputeLength(&self, length: &mut u64) -> Result<bool>
fn WriteToStreamAsync( &self, outputstream: Option<&IOutputStream> ) -> Result<IAsyncOperationWithProgress<u64, u64>>
Object Safety§
This trait is not object safe.