OneDriveFileSystem

com.github.cloudfiles.onedrive.OneDriveFileSystem
See theOneDriveFileSystem companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def createHttpSender(config: OneDriveConfig, authConfig: OAuthConfig, requestQueueSize: Int, proxy: ProxySelectorFunc): Behavior[HttpCommand]

Returns an actor behavior for sending HTTP requests that fulfills all the requirements of the OneDrive file system implementation. This actor has the following properties:

Returns an actor behavior for sending HTTP requests that fulfills all the requirements of the OneDrive file system implementation. This actor has the following properties:

  • It supports multiple hosts.
  • Requests to the OneDrive API server are authorized with an OAuth token as defined by the ''OAuthConfig'' provided.
  • Requests to other hosts do not use authentication. (This refers to the hosts for uploading and downloading files; requests to these hosts should not have an ''Authorization'' header.)

Value parameters

authConfig

the configuration of the OAuth provider

config

the OneDrive configuration

proxy

the function to select the proxy

requestQueueSize

the size of the request queue

Attributes

Returns

the behavior of an actor for sending HTTP requests on behalf of a OneDrive file system