Skip to content
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

Document hostcalls::dispatch_http_call #201

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

younes-io
Copy link

I think functions should be documented to make it easy to find (regardless of the ABI, which is now being written, cf. proxy-wasm/spec#41)

@google-cla
Copy link

google-cla bot commented Jun 18, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@younes-io younes-io force-pushed the patch-1 branch 2 times, most recently from eb6770a to 60d9295 Compare June 18, 2023 12:44
@younes-io
Copy link
Author

is there any issue here ?

@PiotrSikora
Copy link
Contributor

is there any issue here ?

It doesn't pass tests (see Clippy failures).

Also, I believe that @mpwarres and @martijneken are currently working on the documentation for the whole SDK, so it might be worth waiting a bit for it for the sake of consistency. @mpwarres @martijneken do you have status update?

@mpwarres
Copy link

mpwarres commented Jul 6, 2023

Also, I believe that @mpwarres and @martijneken are currently working on the documentation for the whole SDK, so it might be worth waiting a bit for it for the sake of consistency. @mpwarres @martijneken do you have status update?

C++ SDK doc PR should be out end of this week, Rust SDK PR early next week.

@cuisongliu
Copy link

/// # Returns
///
/// A Result indicating the success or failure of the HTTP call. If the call is successful, the function returns an HTTP status code as a u32. If an error occurs, an Error object is returned.

There may be some problems with this description. It seems that the return is not an HTTP status code, but the code looks more like a token_id

younes-io and others added 2 commits December 24, 2023 21:20
Signed-off-by: Younes <dev@younes.io>
Signed-off-by: Younes <dev@younes.io>
@younes-io
Copy link
Author

@PiotrSikora : is this still relevant or shall I close it ?

@younes-io
Copy link
Author

@mpwarres : could you please tell if this PR is still relevant or is obsolete (due to the latest work on docs, etc) ?

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.

None yet

4 participants