connectrpc-hyper 0.3.0-x86_64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +475 -0
- data/THIRD_PARTY_NOTICES.md +3886 -0
- data/lib/connectrpc/hyper/3.4/connectrpc_hyper.so +0 -0
- data/lib/connectrpc/hyper/4.0/connectrpc_hyper.so +0 -0
- data/lib/connectrpc/hyper/errors.rb +79 -0
- data/lib/connectrpc/hyper/exchange.rb +89 -0
- data/lib/connectrpc/hyper/tls.rb +110 -0
- data/lib/connectrpc/hyper/transport.rb +369 -0
- data/lib/connectrpc/hyper/version.rb +7 -0
- data/lib/connectrpc/hyper.rb +27 -0
- data/sig/connectrpc-hyper.rbs +23 -0
- data/sig/manifest.yaml +3 -0
- metadata +79 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module ConnectRPC
|
|
2
|
+
module Hyper
|
|
3
|
+
VERSION: String
|
|
4
|
+
|
|
5
|
+
# Since 0.3.0. A reactor-free client transport for core's unary,
|
|
6
|
+
# streaming and native gRPC SPIs. Construction validates options and
|
|
7
|
+
# starts no thread or socket. `proxy:` takes :environment (the default,
|
|
8
|
+
# snapshotted at construction), an http:// proxy String or URI, or nil
|
|
9
|
+
# for direct connections.
|
|
10
|
+
class Transport
|
|
11
|
+
def initialize: (?connections: :pooled | :per_call, ?idle_timeout: Numeric?, ?keepalive: Keepalive?, ?http2: bool, ?connect_timeout: Numeric, ?ca_file: String?, ?certificate_chain: Array[String]?, ?private_key: String?, ?proxy: :environment | String | URI::Generic | nil) -> void
|
|
12
|
+
def inspect: () -> String
|
|
13
|
+
def call: (TransportRequest) -> TransportResponse
|
|
14
|
+
def streaming_capabilities: () -> Array[streaming_cardinality]
|
|
15
|
+
def open_stream: [T] (StreamRequest) { (_StreamExchange) -> T } -> T
|
|
16
|
+
def grpc_capabilities: () -> Array[grpc_cardinality]
|
|
17
|
+
def open_grpc_stream: [T] (StreamRequest) { (_GRPCStreamExchange) -> T } -> T
|
|
18
|
+
# True when every in-flight call drained within grace; false after
|
|
19
|
+
# forced teardown. Later calls fail with the closed phrase.
|
|
20
|
+
def close: (?grace: Numeric) -> bool
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/sig/manifest.yaml
ADDED
metadata
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: connectrpc-hyper
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
platform: x86_64-linux
|
|
6
|
+
authors:
|
|
7
|
+
- jimeh
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-11-24 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: connectrpc
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.3.0
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 0.3.0
|
|
27
|
+
description: Connect and native gRPC calls of every shape from any Ruby thread, over
|
|
28
|
+
one shared HTTP/2 connection per origin, without an Async reactor. Interrupts, deadlines
|
|
29
|
+
and cancellation stop a call at any stage. Experimental.
|
|
30
|
+
email:
|
|
31
|
+
executables: []
|
|
32
|
+
extensions: []
|
|
33
|
+
extra_rdoc_files: []
|
|
34
|
+
files:
|
|
35
|
+
- LICENSE
|
|
36
|
+
- README.md
|
|
37
|
+
- THIRD_PARTY_NOTICES.md
|
|
38
|
+
- lib/connectrpc/hyper.rb
|
|
39
|
+
- lib/connectrpc/hyper/3.4/connectrpc_hyper.so
|
|
40
|
+
- lib/connectrpc/hyper/4.0/connectrpc_hyper.so
|
|
41
|
+
- lib/connectrpc/hyper/errors.rb
|
|
42
|
+
- lib/connectrpc/hyper/exchange.rb
|
|
43
|
+
- lib/connectrpc/hyper/tls.rb
|
|
44
|
+
- lib/connectrpc/hyper/transport.rb
|
|
45
|
+
- lib/connectrpc/hyper/version.rb
|
|
46
|
+
- sig/connectrpc-hyper.rbs
|
|
47
|
+
- sig/manifest.yaml
|
|
48
|
+
homepage: https://github.com/jimeh/connectrpc-ruby
|
|
49
|
+
licenses:
|
|
50
|
+
- MIT
|
|
51
|
+
metadata:
|
|
52
|
+
allowed_push_host: https://rubygems.org
|
|
53
|
+
rubygems_mfa_required: 'true'
|
|
54
|
+
source_code_uri: https://github.com/jimeh/connectrpc-ruby
|
|
55
|
+
changelog_uri: https://github.com/jimeh/connectrpc-ruby/blob/main/CHANGELOG.md
|
|
56
|
+
bug_tracker_uri: https://github.com/jimeh/connectrpc-ruby/issues
|
|
57
|
+
post_install_message:
|
|
58
|
+
rdoc_options: []
|
|
59
|
+
require_paths:
|
|
60
|
+
- lib
|
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
|
+
requirements:
|
|
63
|
+
- - ">="
|
|
64
|
+
- !ruby/object:Gem::Version
|
|
65
|
+
version: '3.4'
|
|
66
|
+
- - "<"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 4.1.dev
|
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
|
+
requirements:
|
|
71
|
+
- - ">="
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: '0'
|
|
74
|
+
requirements: []
|
|
75
|
+
rubygems_version: 3.5.23
|
|
76
|
+
signing_key:
|
|
77
|
+
specification_version: 4
|
|
78
|
+
summary: Optional reactor-free ConnectRPC client transport on Rust hyper, h2 and rustls
|
|
79
|
+
test_files: []
|