Strawberry Shake non-singleton usage #3507
adamhathcock
started this conversation in
Ideas
Replies: 2 comments
-
Looks like this issue might help me #3467 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I too am in a similar boat. A singleton client is not usable in this use case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There doesn't seem to be a way to override the settings to inject any kind of transient behavior. Mainly, I want to use a different HTTP header on each request as I want the shake client to be a stateless client for a server.
It looks like the intended usage is a singleton in an application for caching and whatnot. I recognize I shouldnt use any of this but there doesn't appear to be hook for editing the HTTP requests to add auth information.
I'm happy to try to add this myself with a PR but I don't think I know enough about the intentions here.
Beta Was this translation helpful? Give feedback.
All reactions