(args []byte, reply *struct{})
| 34 | } |
| 35 | |
| 36 | func (w *httpResponseWriterRPCServer) Write(args []byte, reply *struct{}) error { |
| 37 | _, err := w.w.Write(args) |
| 38 | return err |
| 39 | } |
| 40 | |
| 41 | func (w *httpResponseWriterRPCServer) WriteHeader(args int, reply *struct{}) error { |
| 42 | // Check if args is a valid http status code. This prevents plugins from crashing the server with a panic. |