Skip to content

Instantly share code, notes, and snippets.

Alexander Dukhnovskiy AlexDaSoul

  • Russia, Kazan
Block or report user

Report or block AlexDaSoul

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .ts
const meta: grpc.Metadata = new grpc.Metadata({ Authorization: token });
View .json
{
"_internal_repr": {
"x-grpc-from": ["auth"],
"user-agent": ["grpc-node/1.24.2 grpc-c/8.0.0 (linux; chttp2; ganges)"]
},
"flags": 0
}
View .sh
docker logs -f <container name>
View .sh
docker:dev:down
View .sh
docker:dev:up
View .sh
npm run build:grpc:front
View .sh
grpcurl -plaintext - import-path ./grpc-proto/user -proto index.proto \
-H 'X-Grpc-From: auth' -d '{ "email": "johndoe@mail.com", "password": "demo" }' \
127.0.0.1:443 api.user.UserService/VerifyUser
View .sh
npm run build:grpc:back
View .sh
pbjs -t static-module file1.proto file2.proto | pbts -o bundle.d.ts -
View .ts
this.messageGrpcService.sendMessage({ message }).subscribe(...);
You can’t perform that action at this time.