Skip to content

tool to help in testing http, gRPC and telnet streams

License

Notifications You must be signed in to change notification settings

rboyer/blankspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blankspace

Run:

$ docker run --name bs --net=host -d rboyer/blankspace -name my-name

HTTP:

$ curl -sL localhost:8080
{"Name":"v2"}

gRPC:

$ grpcurl -plaintext localhost:8079 list
blankspace.Server
grpc.reflection.v1alpha.ServerReflection

$ grpcurl -plaintext localhost:8079 describe blankspace.Server
blankspace.Server is a service:
service Server {
  rpc Describe ( .blankspace.DescribeRequest ) returns ( .blankspace.DescribeResponse );
}

$ grpcurl -d '{}' -plaintext localhost:8079 blankspace.Server.Describe
{
  "name": "my-name"
}

TCP:

$ telnet localhost 8078
Trying ::1...
Connected to localhost.
Escape character is '^]'.
describe
my-name
describe
my-name
quit
Connection closed by foreign host.

HTTP proxied request:

$ curl --get -sL localhost:8080/fetch --data-urlencode "url=http://neverssl.com"
...(fetch is proxied)...

About

tool to help in testing http, gRPC and telnet streams

Resources

License

Stars

Watchers

Forks

Packages

No packages published