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

Server timing spec compliance #1

Closed
motss opened this issue Sep 16, 2017 · 4 comments
Closed

Server timing spec compliance #1

motss opened this issue Sep 16, 2017 · 4 comments
Assignees

Comments

@motss
Copy link

motss commented Sep 16, 2017

Is it possible to make this to be a Server timing thing since it does something quite similar?

@lolo32
Copy link
Owner

lolo32 commented Sep 16, 2017

I do not understand what you want me to implement. Could you explain what is Server timing thing?

If you prefer, I made another plugin that allow you to change heanders just before there are sent. Have a look at fastify-onheader

@millette
Copy link
Contributor

millette commented Dec 6, 2018

I guess @motss meant https://www.w3.org/TR/server-timing/

@lolo32 lolo32 self-assigned this Dec 6, 2018
@lolo32
Copy link
Owner

lolo32 commented Dec 6, 2018

OK, I will read it later this night.

Thanks @millette

@lolo32 lolo32 closed this as completed in 61edb7f Dec 6, 2018
@lolo32
Copy link
Owner

lolo32 commented Dec 6, 2018

Added new method to reply, to specify any server-timing value:
reply.setServerTiming(name, duration, description)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants