Jorge Canizales
7603d64982
Let tracing be enabled before starting an RPC
...
by calling grpc_init on [GRPCCall load], instead of lazily.
9 years ago
Muxi Yan
3b67f3622b
Remove redundant comment
9 years ago
Muxi Yan
ff6cd70a1b
Update error message when client does not enough memory to hold server response
9 years ago
Muxi Yan
fc99ff6644
Fix error code when client run out of memory in Objective C code base
...
Update Status Codes documentation
9 years ago
Jorge Canizales
3785d53931
Restore fix undid by https://github.com/grpc/grpc/pull/5893
...
That PR wasn’t tested nor reviewed adequately.
9 years ago
Jorge Canizales
5e824fa42e
Restore fix undid by https://github.com/grpc/grpc/pull/5893
...
That PR wasn’t tested nor reviewed adecuately.
9 years ago
Makarand Dharmapurikar
4de40cae0a
Fixes #2868
9 years ago
Jorge Canizales
0803bb0b33
Add state transitions to GRPCCall
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Nicolas "Pixel" Noble
6bda8497b8
Fixing copyrights.
9 years ago
Nicolas "Pixel" Noble
702243698c
For GRPCOperation's, ensure finish _handler can only be called once, and release it when called, so weak ptrs needn't be used with it, and the call won't be released until the finish handler is called.
...
When the connectivityMonitor determines the connection has been lost, pull the host disconnect call. Creates an unreliable connection when connectivity is restored. Calling finishWithError: is sufficient.
9 years ago
Jorge Canizales
f1d084a4d1
Add monitoring of connectivity
...
Move C-layer call creation into GRPCChannel, so that it always acts on a
non-destroyed channel.
Listen for connectivity in the GRPCCall, and destroy the channel.
9 years ago
Jorge Canizales
f4f150f28b
Makes GRPCRequestHeaders a NSMutableDictionary
...
TODO:
- Documentation
- Make public
- Check I’ve implemented all NSMutDict required methods
9 years ago
Jorge Canizales
78a4c7490e
Make request headers a @property property.
10 years ago
Jorge Canizales
2f10127f85
Publish GRPCRequestHeaders as a protocol
...
So we can make the property a dictionary later, by just extending
NSMutableDictionary to conform to the protocol.
10 years ago
Jorge Canizales
5c339d15b3
Remove -[asDictionary]
10 years ago
Jorge Canizales
86e5a050f7
Make GRPCRequestHeaders public and import from GRPCCall
10 years ago
murgatroid99
84fa531e4d
Added class for setting request headers on a call
10 years ago
Jorge Canizales
1ab2a71d07
Put both headers and trailers in the error.userInfo
10 years ago
Jorge Canizales
0b34c89bc6
Turn allResponseMetadata into *Headers and *Trailers
10 years ago
Jorge Canizales
2a24654024
More requestMetadata -> requestHeaders renaming
10 years ago
Jorge Canizales
4e45a6f822
Rename responseMetadata -> allResponseMetadata
10 years ago
Jorge Canizales
6512d26b1b
Rename requestMetadata -> requestHeaders
10 years ago
Jorge Canizales
578ab166ad
Don’t retain self here!
10 years ago
Jorge Canizales
297ed7bd81
Don’t set the request writer to nil, as @synchr(nil) is undefined behavior.
...
Also clarify in GRXWriter.h that the writeable is released whenever the
writer finishes.
10 years ago
Jorge Canizales
eb87b4653a
Rename super-confusing ivar _self -> _retainSelf
10 years ago
Jorge Canizales
238ad7819f
Eliminate race in GRPCCall’s operation of the requests writer
10 years ago
Jorge Canizales
8c5318a6d1
Return nil instead of assert when the test certs can’t be read
10 years ago
Jorge Canizales
3a5253eb12
Move _channel from GRPCCall into GRPCWrappedCall
10 years ago
Jorge Canizales
013f87a9a7
Unused ivar in GRPCCall.m
10 years ago
Jorge Canizales
9e51972d22
grpc_init() is already called in GRPCWrappedCall
10 years ago
Jorge Canizales
597ef98693
GRPCCall.m formatting.
10 years ago
Jorge Canizales
6531b2b791
Make the call retain cycle explicit and encapsulated within GRPCCall.m
10 years ago
Jorge Canizales
4c6f778cfd
ConcurrentWriteable: NSData *message -> id value
10 years ago
Jorge Canizales
35f003b24e
Rename GRPCDelegateWrapper -> GRXConcurrentWriteable
...
And move it to the RxLibrary.
10 years ago
Jorge Canizales
5604712b03
id<GRXWriter> -> GRXWriter * in the runtime
10 years ago
Jorge Canizales
be808e36f6
Move ProtoMethod to ProtoRPC package
10 years ago
Jorge Canizales
469d4b6fde
Rename GRPCMethodName->ProtoMethod
10 years ago
Jorge Canizales
59bb9d7d56
Have Cocoapods rename includes in the core wrapper
...
Fixes https://github.com/grpc/grpc/issues/2194 .
10 years ago
Jorge Canizales
6bbfcc3fec
Disallow started request writers on GRPCCall init
10 years ago
Jorge Canizales
c58a1103b6
Fix NPE for trying to add metadata to error when it was nil
10 years ago
Jorge Canizales
f3a4f2cee9
Merge trailers into responseMetadata. Add it to NSError.
10 years ago
Jorge Canizales
544963e18a
Let set NSDictionary as headers, and init the property (not nil)
10 years ago
Jorge Canizales
b2c300c4be
s/didFinishWithError/writesFinishedWithError
10 years ago
Jorge Canizales
a90a9c395d
s/didReceiveValue/writeValue
10 years ago
murgatroid99
ca38ddb105
Fixed ivar names and comments
10 years ago
murgatroid99
b56609c705
Updated GRPCCall comments and spacing
10 years ago
murgatroid99
6cc4680cb4
Changed message handling, fixed line lengths
10 years ago
murgatroid99
b5c076f186
Rewrote comment to match changes
10 years ago
murgatroid99
e08a9c061a
Simplified an initializer call
10 years ago