-
Notifications
You must be signed in to change notification settings - Fork 110
Gg discovery #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gg discovery #21
Conversation
class AWS_DISCOVERY_API GGGroup final | ||
{ | ||
public: | ||
GGGroup() = default; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're GGGREAT!
I was going to suggest a namespace or the use of Greengrass, but then it turns out this is the nomenclature GG uses :\
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some questions & ship it
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
|
||
* This file is generated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most files say This file is generated
Is that a copy/paste error, are these being generated from somewhere?
Or are these files just something that we aspire to generate someday
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these aren't generated.
[](Crt::Http::HttpStream &, const Crt::Http::HttpHeader *, std::size_t) {}; | ||
requestOptions.onIncomingHeadersBlockDone = | ||
[callbackContext](Crt::Http::HttpStream &stream, bool) { | ||
callbackContext->responseCode = stream.GetResponseStatusCode(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[optional] this callback could be null and you could just query the response-code in the onStreamComplete() callback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted the ability to branch on it before writing to the stream. When we start generating this stuff I'll prolly revisit it.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.