set_data method

set_data(data)

Sets user provided data of the resource which is used if IResourceLoadingCallback.resource_loading() returns ResourceLoadingAction.USER_PROVIDED.

def set_data(self, data: bytes):
    ...
ParameterTypeDescription
databytes

See Also