Packages

p

io.youi

upload

package upload

Type Members

  1. case class UploadManager(url: URL = History.url.withPath(path"/upload"), chunkSize: Long = 50L * 1000L * 1000L, timeout: Int = 0, headers: Headers = Headers.empty, withCredentials: Boolean = false, ajaxManager: AjaxManager = new AjaxManager(4)) extends Product with Serializable

    UploadManager represents a system to support uploads to the server and should be coupled with the JVM UploadManager counter-part.

    UploadManager represents a system to support uploads to the server and should be coupled with the JVM UploadManager counter-part.

    Must point to the same path as the server is assigned.

    url

    the URL to upload to - defaults to the current URL with "/upload" as the path

    chunkSize

    the size to slice large files to (defaults to 50 meg)

    timeout

    the timeout in seconds (defaults to 0 - no timeout)

    headers

    headers to be passed (defaults to empty)

    withCredentials

    whether credentials should be passed (defaults to false)

    ajaxManager

    an AJAXManager to use (defaults to a new instance with four maximum concurrent)

  2. case class Uploading(file: File, progress: Val[Long], percentage: Val[Double], future: Future[String]) extends Product with Serializable

Ungrouped