Skip to content

code review changes: getStream, file structure, generate definitions #1

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

Merged
merged 3 commits into from
Jul 13, 2015

Conversation

teddyward
Copy link

No description provided.

@@ -67,27 +67,26 @@ export class HttpClient implements ifm.IHttpClient {
content.pipe(req);
}

getFile(requestUrl: string, destination: NodeJS.WritableStream, headers: any, onResult: (err: any, res: http.ClientResponse) => void): void {
getStream(requestUrl: string, apiVersion: string, type: string, onResult: (err: any, statusCode: number, res: http.ClientResponse) => void): void {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getStream here: wasn't totally sure if the callback should include the status code here -- it doesn't on other http client methods, but used to on the rest client

also made the changes to Agent.XPlat locally to use this -- should I start putting the changes that I make there on a new branch?

teddyward pushed a commit that referenced this pull request Jul 13, 2015
code review changes: getStream, file structure, generate definitions
@teddyward teddyward merged commit 8d71265 into master Jul 13, 2015
@teddyward teddyward deleted the t-edward/codeReview branch July 22, 2015 19:41
themadtitanmathos pushed a commit to themadtitanmathos/azure-devops-node-api that referenced this pull request Apr 9, 2021
…nk-is-browser-check

DEV-943: isBrowser === true while in a node application using electron-link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants