FSharpx.Async


WebClientExtensions

Namespace: FSharpx.Control

Type extensions

Type extensionDescription
AsyncDownloadData(address)
Signature: address:Uri -> Async<byte []>

Returns an asynchronous computation that, when run, will wait for the download of the specified resource as a data buffer.

CompiledName: WebClient.AsyncDownloadData

AsyncDownloadFile(address, fileName)
Signature: (address:Uri * fileName:string) -> Async<unit>

Returns an asynchronous computation that, when run, will wait for the download of a resource with the specified URI to the local file.

CompiledName: WebClient.AsyncDownloadFile

AsyncOpenRead(address)
Signature: address:Uri -> Async<Stream>

Returns an asynchronous computation that, when run, will wait for the opening of a readable stream containing the specified resource.

CompiledName: WebClient.AsyncOpenRead

AsyncOpenWrite(address)
Signature: address:Uri -> Async<Stream>

Returns an asynchronous computation that, when run, will wait for the opening of a stream for writing data to the specified resource.

CompiledName: WebClient.AsyncOpenWrite

AsyncOpenWrite(address, uploadMethod)
Signature: (address:Uri * uploadMethod:string) -> Async<Stream>

Returns an asynchronous computation that, when run, will wait for the opening of a stream for writing data to the specified resource.

CompiledName: WebClient.AsyncOpenWrite

AsyncUploadData(address, data)
Signature: (address:Uri * data:byte []) -> Async<byte []>

Returns an asynchronous computation that, when run, will wait for the upload of a data buffer to a resource identified by a URI, using the POST method.

CompiledName: WebClient.AsyncUploadData

AsyncUploadData(...)
Signature: (address:Uri * uploadMethod:string * data:byte []) -> Async<byte []>

Returns an asynchronous computation that, when run, will wait for the upload of a data buffer to a resource identified by a URI, using the specified method.

CompiledName: WebClient.AsyncUploadData

AsyncUploadFile(address, fileName)
Signature: (address:Uri * fileName:string) -> Async<byte []>

Returns an asynchronous computation that, when run, will wait for the upload of the specified local file to the specified resource, using the POST method.

CompiledName: WebClient.AsyncUploadFile

AsyncUploadFile(...)
Signature: (address:Uri * uploadMethod:string * fileName:string) -> Async<byte []>

Returns an asynchronous computation that, when run, will wait for the upload of the specified local file to the specified resource, using the specified method.

CompiledName: WebClient.AsyncUploadFile

AsyncUploadString(address, data)
Signature: (address:Uri * data:string) -> Async<string>

Returns an asynchronous computation that, when run, will wait for the upload of the specified string to the specified resource.

CompiledName: WebClient.AsyncUploadString

AsyncUploadString(...)
Signature: (address:Uri * uploadMethod:string * data:string) -> Async<string>

Returns an asynchronous computation that, when run, will wait for the upload of the specified string to the specified resource, using the specified method.

CompiledName: WebClient.AsyncUploadString

AsyncUploadValues(address, data)
Signature: (address:Uri * data:NameValueCollection) -> Async<byte []>

Returns an asynchronous computation that, when run, will wait for the upload of the data in the specified name/value collection to the resource identified by the specified URI.

CompiledName: WebClient.AsyncUploadValues

AsyncUploadValues(...)
Signature: (address:Uri * uploadMethod:string * data:NameValueCollection) -> Async<byte []>

Returns an asynchronous computation that, when run, will wait for the upload of the data in the specified name/value collection to the resource identified by the specified URI, using the specified method.

CompiledName: WebClient.AsyncUploadValues

Fork me on GitHub