Comments (2)
Notes copied from email thread
So - the four actual methods would be:
Sync Write: write(data, null)
- if host can send data to kernel without entering a wait state: it should send data and return false
- if host can buffer data and send it in the background: it should buffer data and return true
- if host only knows how to do blocking writes: it should send data and return false
Async Write: write(data, callback)
- if host can send data to kernel without entering a wait state: it should send data and return false
- if host can perform async write operation: if should send data async, return true, and invoke callback when complete
- if host only knows how to do blocking write: it should send data and return false
Sync Flush: write(null, null)
- if host is not buffering data and no async writes are outstanding: it should return false immediately
- if host can flush buffered data and wait for outstanding async writes: it should block until that is complete and return false
- if host is buffering and cannot block threads for io to complete: it should return true immediately (to indicate the data remains outstanding)
Async Flush: write(null, callback)
- if host is not buffering data and no async writes are outstanding: it should return false
- if host has buffered data or outstanding async writes: it should return true and invoke callback when those are complete
from owin.dll.
See also discussion thread https://groups.google.com/d/topic/net-http-abstractions/k7JQP_Rk57Y/discussion
from owin.dll.
Related Issues (17)
- Environment key "owin.HttpVersion" HOT 2
- Environment key "owin.TraceOutput" HOT 1
- Adding more response properties, e.g. httpversion, trailing headers HOT 1
- Unify Request and Response representation HOT 2
- Contributor agreement sender missing HOT 3
- Move IAppBuilder to Microsoft.Owin HOT 175
- App/Middleware delegate should take Next delegate parameter HOT 65
- owin.RequestId - new standard key to uniquely identify a request HOT 14
- Use github issues for voting on proposals HOT 8
- server.User common key HOT 11
- request & response headers (concat vs enumerable vs array) HOT 2
- AppTaskDelegate return value (tuple vs value-type) HOT 1
- AppDelegate's ResultDelegate arguments (args vs value-type) HOT 1
- Startup context (do nothing vs builder.Properties) HOT 2
- AppDelegate fault action HOT 1
- Environment key "owin.CallDisposed" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owin.dll.