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

[Working Draft] Fetch protocol spec #204

Merged
merged 4 commits into from
Aug 29, 2019

Conversation

aschmahmann
Copy link
Contributor

This is an initial stab at putting together a spec for the Fetch protocol. As explained in the spec this protocol is basically just a simple network request for Fetch(key) (value, statusCode).

The document contains both the answers to questions about a Working Draft and put together the spec outline (as detailed in the lifecycle document).

^ @vyzo @raulk @Stebalien

fetch/README.md Outdated Show resolved Hide resolved
fetch/README.md Show resolved Hide resolved
fetch/README.md Outdated Show resolved Hide resolved
fetch/README.md Outdated Show resolved Hide resolved

```
message FetchRequest {
string identifier = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

why not call this either key or id?

Copy link
Contributor

Choose a reason for hiding this comment

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

it's more consistent with the document, but it's a nit really.

fetch/README.md Show resolved Hide resolved
@aschmahmann aschmahmann merged commit 762aa74 into libp2p:master Aug 29, 2019
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.

3 participants