5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 12:40:11 +08:00
wails/v2/pkg/assetserver/webview/responsewriter.go

15 lines
264 B
Go

package webview
import (
"net/http"
)
// A ResponseWriter interface is used by an HTTP handler to
// construct an HTTP response for the WebView.
type ResponseWriter interface {
http.ResponseWriter
// Finish the response and flush all data.
Finish() error
}