Protocol {
	property string data;

	onUrlChanged: {
		var self = this
		this.request(value, function(data) { self.data = data })
	}
}

Protocol {
	property string data;

	onUrlChanged: {
		var self = this
		this.requestXHR({
			"url": value,
			"callback": function(data) { self.data = data.target.responseText }
		})
	}
}

Use actual protocol interface in resource.
Use actual protocol interface in resource.
