We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protobuf.js version: head
it is not possible to make protobuff files private how do i add headers in the fetch lib
i want to be able to do something like protobbuff.load(url , ... {headers: {Authentication: "Bearer Token"})
protobbuff.load(url , ... {headers: {Authentication: "Bearer Token"})
and in util/fetch/index.js
fetch_xhr(filename, options, callback) xhr.open("GET", filename); if (options.headers){ for (var key in options.headers) { if (options.headers.hasOwnProperty(key)) { xhr.setRequestHeader(key, options.headers[key]); } } } xhr.send();
Or is here another way to do this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
protobuf.js version: head
it is not possible to make protobuff files private how do i add headers in the fetch lib
i want to be able to do something like
protobbuff.load(url , ... {headers: {Authentication: "Bearer Token"})
and in util/fetch/index.js
Or is here another way to do this?
The text was updated successfully, but these errors were encountered: