mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
[codex] wire native HTTP state transport [ci changed_files]
This commit is contained in:
@@ -241,6 +241,10 @@ impl HttpStateContext {
|
||||
self.store.get(surface)
|
||||
}
|
||||
|
||||
pub fn set_for_surface(&self, surface: HttpStateSurface, state: String) -> io::Result<()> {
|
||||
self.store.set(surface, state)
|
||||
}
|
||||
|
||||
pub fn compare_and_set_for_surface(
|
||||
&self,
|
||||
surface: HttpStateSurface,
|
||||
|
||||
Reference in New Issue
Block a user