public void Start() { m_listener = new HttpListener(); _handler = new WopiHandler(m_docsPath); // localhost may change to the real hostname or IP m_listener.Prefixes.Add(String.Format("http://*****:*****@"WopiServer Started"); }
public OperationContext WopiSave(string lockValue, string newContent) { WopiHandler.ProcessPutFileRequest(LoadTestFile(), lockValue, RepositoryTools.GetStreamFromString(newContent)); return(this); }