Era.Common.NetworkMessage.ConsoleApi.Common.RpcGetFilePartRequest

Description

Request downloading of file part. Used to download large files.
This request is called repeatedly to download a file,
previously generated by some other request.
Call this repeatedly until the whole file is read (size specified in the response from which the ID comes).
Don't call RpcGetFilePartRequest concurrently, you must handle response data ordering.

Properties

Name JsonSchemaType Description
ID integer ID of the file.
maxPartSize integer Maximal size of the part returned in the response. The returned part may be smaller than maxPartSize, including zero.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Common.RpcGetFilePartResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Common.RpcGetFilePartRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Common.RpcGetFilePartRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Common.RpcGetFilePartRequest": {
            "$ref": "#/definitions/RpcGetFilePartRequest"
        }
    },
    "definitions": {
        "RpcGetFilePartRequest": {
            "additionalProperties": false,
            "required": [
                "ID",
                "maxPartSize"
            ],
            "type": "object",
            "properties": {
                "ID": {
                    "type": "integer"
                },
                "maxPartSize": {
                    "type": "integer"
                }
            }
        }
    }
}