UploadSessionCursor
in package
Table of Contents
- $offset : int
- The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or duplicated in the event of a network error.
- $session_id : string
- The upload session ID (returned by upload_session/start).
- __construct() : mixed
Properties
$offset
The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or duplicated in the event of a network error.
public
int
$offset
$session_id
The upload session ID (returned by upload_session/start).
public
string
$session_id
Methods
__construct()
public
__construct(string $session_id, int $offset) : mixed
Parameters
- $session_id : string
- $offset : int